need create serial.

This commit is contained in:
2024-10-08 05:50:17 +00:00
parent 42b40660ce
commit 9ca005e580

View File

@@ -23,4 +23,4 @@ while getopts ":hn:a:d:" opt; do
esac
done
openssl x509 -req -sha256 $DAYS_OPT "${NAME_OPT[@]}" "${AUTHORITY_OPT[@]}" -extfile pki.cnf -extensions v3_intermediate_ca
openssl x509 -req -sha256 -CAcreateserial $DAYS_OPT "${NAME_OPT[@]}" "${AUTHORITY_OPT[@]}" -extfile pki.cnf -extensions v3_intermediate_ca