web/bin/create-crl

5 lines
316 B
Text
Raw Normal View History

2016-04-05 00:19:21 +00:00
#!/usr/bin/env bash
DIR=$(dirname $(realpath $0));
openssl ca -config "$DIR/../etc/openssl.conf" -gencrl -keyfile "$DIR/../storage/ca/ca.key" -cert "$DIR/../storage/ca/ca.crt" -out "$DIR/../storage/ca/crl.pem";
openssl crl -inform PEM -in "$DIR/../storage/ca/crl.pem" -outform DER -out "$DIR/../storage/ca/crl.der";