summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2017-03-29 20:00:46 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2017-03-29 20:00:46 -0700
commitbd34ab275a68113103a13692ec232c0f600a8c17 (patch)
treece9c51e7c7c6c4a40226d4935b985ff71b347ba8
parentd06bc379b3c7d6b1a6c79d750a960c3914a4d304 (diff)
downloadcash-bd34ab275a68113103a13692ec232c0f600a8c17.tar.gz
cash-bd34ab275a68113103a13692ec232c0f600a8c17.zip
genca: also generate empty certificate revocation list
-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