LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

openssl-crl

processes Certificate Revocation Lists

TLDR

View CRL contents
$ openssl crl -in [crl.pem] -text -noout
copy
Convert PEM to DER
$ openssl crl -in [crl.pem] -outform DER -out [crl.der]
copy
Convert DER to PEM
$ openssl crl -in [crl.der] -inform DER -out [crl.pem]
copy
Verify CRL signature against a CA certificate
$ openssl crl -in [crl.pem] -CAfile [ca.crt] -verify
copy
Get CRL issuer name hash
$ openssl crl -in [crl.pem] -hash -noout
copy
Display CRL fingerprint
$ openssl crl -in [crl.pem] -fingerprint -noout
copy
Show CRL issuer and update dates
$ openssl crl -in [crl.pem] -issuer -lastupdate -nextupdate -noout
copy

SYNOPSIS

openssl crl [options] [-in file] [-out file]

DESCRIPTION

openssl crl processes Certificate Revocation Lists. CRLs list certificates that have been revoked before their expiration date.The command can display, convert, and verify CRL files.

PARAMETERS

-in file

Input CRL.
-out file
Output file.
-inform format
Input format (PEM, DER).
-outform format
Output format.
-text
Print CRL in human-readable text form.
-noout
Do not output the encoded version of the CRL.
-verify
Verify the CRL signature. Implicitly enabled if -CApath, -CAfile, or -CAstore is specified.
-hash
Output a hash of the issuer name, used to look up CRLs in a directory by issuer name.
-fingerprint
Output the fingerprint of the CRL.
-issuer
Output the issuer name.
-lastupdate
Output the lastUpdate field.
-nextupdate
Output the nextUpdate field.
-crlnumber
Output the CRL number.
-nameopt option
Specify how subject or issuer names are displayed.
-CAfile file
CA certificate file for verification.
-CApath dir
Directory of CA certificates for verification.
-gendelta file
Output a comparison of the main CRL and the one specified.
-badsig
Corrupt the signature before writing; useful for testing.

CRL CONTENTS

$ Issuer            - CA that issued CRL
Last Update       - When CRL was issued
Next Update       - When next CRL expected
Revoked Certs     - List of serial numbers
copy

INSTALL

sudo apt install openssl
copy
sudo dnf install openssl
copy
sudo pacman -S openssl
copy
sudo apk add openssl
copy
sudo zypper install openssl
copy
brew install openssl
copy
nix profile install nixpkgs#openssl
copy

CAVEATS

CRLs can grow large. Consider OCSP for real-time checking. CRL must be current.

HISTORY

CRLs are defined in X.509 standard as part of PKI infrastructure, implemented in OpenSSL since early versions.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid