File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ Easy-RSA 3 ChangeLog
2
2
3
3
3.2.1 (TBD)
4
4
5
+ * gen-crl: Create additional CRL in DER format (69df0d8) (#1198)
5
6
* self-sign: Allow Edwards Curve based keys (81b749b) (#1197)
6
7
* Re-enable command 'renew' (version 2): Requires EasyRSA Tools (30fe311) (#1195)
7
8
* bug-fix: revoke: Pass the correct certificate location (24d5514)
Original file line number Diff line number Diff line change @@ -3439,6 +3439,7 @@ It is now possible to sign a new certificate for '$file_name_base'"
3439
3439
# gen-crl backend
3440
3440
gen_crl() {
3441
3441
out_file="$EASYRSA_PKI/crl.pem"
3442
+ out_der="$EASYRSA_PKI/crl.der"
3442
3443
3443
3444
out_file_tmp=""
3444
3445
easyrsa_mktemp out_file_tmp || \
@@ -3461,7 +3462,19 @@ gen_crl() {
3461
3462
die "Failed to move temp CRL file."
3462
3463
fi
3463
3464
3465
+ # Copy to DER - As published by OpenSSL
3466
+ if "$EASYRSA_OPENSSL" crl -in "$out_file" -out "$out_der" \
3467
+ -outform DER
3468
+ then
3469
+ crl_der_note="An updated CRL DER copy has been created:
3470
+ * $out_der"
3471
+ else
3472
+ crl_der_note="Failed to create CRL DER copy!"
3473
+ fi
3474
+
3464
3475
notice "\
3476
+ $crl_der_note
3477
+
3465
3478
An updated CRL has been created:
3466
3479
* $out_file"
3467
3480
You can’t perform that action at this time.
0 commit comments