forked from Deuxfleurs/nixcfg
Add another DNS to the pki
This commit is contained in:
parent
6ea18bf8ae
commit
fe1f261738
1 changed files with 3 additions and 2 deletions
5
gen_pki
5
gen_pki
|
@ -59,8 +59,9 @@ subjectAltName = @alt_names
|
|||
[alt_names]
|
||||
DNS.1 = server.$CLUSTER.$APP
|
||||
DNS.2 = client.$CLUSTER.$APP
|
||||
DNS.3 = localhost
|
||||
DNS.4 = 127.0.0.1
|
||||
DNS.3 = $APP.service.$CLUSTER.$APP
|
||||
DNS.4 = localhost
|
||||
DNS.5 = 127.0.0.1
|
||||
EOF
|
||||
) \
|
||||
-CA <(pass $PREFIX/$APP-ca.crt) \
|
||||
|
|
Loading…
Reference in a new issue