summaryrefslogtreecommitdiff
path: root/genca.sh
diff options
context:
space:
mode:
Diffstat (limited to 'genca.sh')
-rwxr-xr-xgenca.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/genca.sh b/genca.sh
index 3af90d5..dc3e302 100755
--- a/genca.sh
+++ b/genca.sh
@@ -17,3 +17,5 @@ echo 1000 > "$CA"/ca/"$CA".serial
touch "$CA"/ca/"$CA".idx
openssl req -config "$OPENSSL_CONFIG" -new -x509 -days "$EXPIRE" -extensions v3_ca -keyout "$CA"/ca/"$CA".key -out "$CA"/ca/"$CA".crt
chmod 600 "$CA"/ca/"$CA".key
+echo Generating revocation list...
+openssl ca -config "$OPENSSL_CONFIG" -gencrl -out "$CA"/ca/"$CA".crl