diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-03-29 20:00:46 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-03-29 20:00:46 -0700 |
commit | bd34ab275a68113103a13692ec232c0f600a8c17 (patch) | |
tree | ce9c51e7c7c6c4a40226d4935b985ff71b347ba8 | |
parent | d06bc379b3c7d6b1a6c79d750a960c3914a4d304 (diff) | |
download | cash-bd34ab275a68113103a13692ec232c0f600a8c17.tar.gz cash-bd34ab275a68113103a13692ec232c0f600a8c17.zip |
genca: also generate empty certificate revocation list
-rwxr-xr-x | genca.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |