libressl: use make_ssl_config and safessl-easyrsa.cnf for revoke

This commit is contained in:
Richard Bonhomme 2018-08-23 21:20:53 +01:00
parent d1e72d4ea7
commit e9d6393da3
No known key found for this signature in database
GPG Key ID: C7423CEDFEFCE950

View File

@ -831,7 +831,10 @@ $(display_dn x509 "$crt_in")
Unable to revoke as no certificate was found. Certificate was expected
at: $crt_in"
"$EASYRSA_OPENSSL" ca -utf8 -revoke "$crt_in" -config "$EASYRSA_SSL_CONF" || die "\
# make safessl-easyrsa.cnf
make_ssl_config
"$EASYRSA_OPENSSL" ca -utf8 -revoke "$crt_in" -config "$EASYRSA_SAFE_CONF" || die "\
Failed to revoke certificate: revocation command failed."
notice "\