openssl-x509
Manage X.509 certificates. tldr-pages
On several platforms
Several platforms
Display certificate information
openssl x509 -in filename.crt -noout -textIdentifyDisplay a certificate's expiration date
openssl x509 -enddate -noout -in filename.pemIdentifyConvert a certificate between binary DER encoding and textual PEM encoding
openssl x509 -inform der -outform pem -in original_certificate_file -out converted_certificate_fileIdentifyStore a certificate's public key in a file
openssl x509 -in certificate_file -noout -pubkey -out output_fileIdentify