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