Generate CRL only if (re)generating CA

pull/5/head
Jérémy Dubois 11 months ago
parent 55e02c6a13
commit 6165ccec6c

@ -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…
Cancel
Save