From 97f1affa1b4934b5f777ea0d17f5bf15baaa88d0 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Mon, 4 Apr 2022 18:13:37 +0200 Subject: [PATCH] Create crl file after init of PKI --- shellpki | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shellpki b/shellpki index 14b9b46..09c664b 100755 --- a/shellpki +++ b/shellpki @@ -333,6 +333,12 @@ EOF error "Error generating the CA certificate" fi fi + + "${OPENSSL_BIN}" ca \ + -config "${CONF_FILE}" \ + -passin pass:${CA_PASSWORD} \ + -gencrl \ + -out "${CRL}" } ocsp() {