Generate CRL only if (re)generating CA

This commit is contained in:
Jérémy Dubois 2022-04-14 15:51:07 +02:00
parent 55e02c6a13
commit 6165ccec6c
1 changed files with 1 additions and 1 deletions

View File

@ -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() {