Generate CRL only if (re)generating CA
This commit is contained in:
parent
55e02c6a13
commit
6165ccec6c
2
shellpki
2
shellpki
|
@ -332,13 +332,13 @@ EOF
|
||||||
if [ "$?" -ne 0 ]; then
|
if [ "$?" -ne 0 ]; then
|
||||||
error "Error generating the CA certificate"
|
error "Error generating the CA certificate"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
"${OPENSSL_BIN}" ca \
|
"${OPENSSL_BIN}" ca \
|
||||||
-config "${CONF_FILE}" \
|
-config "${CONF_FILE}" \
|
||||||
-passin pass:${CA_PASSWORD} \
|
-passin pass:${CA_PASSWORD} \
|
||||||
-gencrl \
|
-gencrl \
|
||||||
-out "${CRL}"
|
-out "${CRL}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ocsp() {
|
ocsp() {
|
||||||
|
|
Loading…
Reference in a new issue