Skip to content

Commit dfb6a5d

Browse files
hishamanverHisham Anver
and
Hisham Anver
authored
add ca srl param input to openssl command (#66)
Co-authored-by: Hisham Anver <[email protected]>
1 parent 0b6da4b commit dfb6a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: create_ca_cert.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ EOF
8282
[[ ${DEBUG} -gt 0 ]] && openssl req -in ia.csr -noout -text
8383

8484
logInfo "Sign the IA request with the CA cert and key, producing the IA cert"
85-
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 <(
85+
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 <(
8686
cat <<-EOF
8787
[req]
8888
distinguished_name = dn

0 commit comments

Comments
 (0)