add ca srl param input to openssl command (#66)
Co-authored-by: Hisham Anver <Hisham.Anver@team.telstra.com>pull/73/head
parent
0b6da4be92
commit
dfb6a5dea2
|
@ -82,7 +82,7 @@ EOF
|
||||||
[[ ${DEBUG} -gt 0 ]] && openssl req -in ia.csr -noout -text
|
[[ ${DEBUG} -gt 0 ]] && openssl req -in ia.csr -noout -text
|
||||||
|
|
||||||
logInfo "Sign the IA request with the CA cert and key, producing the IA cert"
|
logInfo "Sign the IA request with the CA cert and key, producing the IA cert"
|
||||||
openssl x509 -req -days 730 -in ia.csr -CA ${CA_CRT_FILE} -CAkey ${CA_KEY_FILE} -out ia.crt -passin pass:foobar -extensions IA -extfile <(
|
openssl x509 -req -days 730 -in ia.csr -CA ${CA_CRT_FILE} -CAkey ${CA_KEY_FILE} -CAserial ${CA_SRL_FILE} -out ia.crt -passin pass:foobar -extensions IA -extfile <(
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
[req]
|
[req]
|
||||||
distinguished_name = dn
|
distinguished_name = dn
|
||||||
|
|
Loading…
Reference in New Issue