File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "CN" : " Tinkerbell CA" ,
3
+ "key" : {
4
+ "algo" : " rsa" ,
5
+ "size" : 2048
6
+ },
7
+ "names" : [
8
+ {
9
+ "L" : " @FACILITY@"
10
+ }
11
+ ]
12
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "CN" : " tinkerbell " ,
2
+ "CN" : " Tinkerbell " ,
3
3
"hosts" : [
4
4
" tinkerbell.registry" ,
5
5
" tinkerbell.tinkerbell" ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ gen() {
25
25
local ca_crt_destination=" $1 "
26
26
local server_crt_destination=" $2 "
27
27
local server_key_destination=" $3 "
28
- cfssl gencert -initca /code/tls/csr.json | cfssljson -bare ca -
28
+ cfssl gencert -initca /code/tls/ca- csr.json | cfssljson -bare ca -
29
29
cfssl gencert -config /code/tls/ca-config.json -ca ca.pem -ca-key ca-key.pem -profile server /code/tls/csr.json | cfssljson -bare server
30
30
mv ca.pem " ${ca_crt_destination} "
31
31
mv server.pem " ${server_crt_destination} "
You can’t perform that action at this time.
0 commit comments