Difference between revisions of "Openssl x509"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[openssl]] x509 -inform pem -noout -text</code> | * <code>[[openssl]] x509 -inform pem -noout -text</code> | ||
− | * <code>openssl x509 -noout -text -in /path/to/your/cert[[.pem]]</code> | + | * <code>[[openssl x509 -noout -text -in]] /path/to/your/cert[[.pem]]</code> |
+ | * <code>[[openssl x509 -noout -text -in]] /path/to/your/cert[[.pem]] | grep [[Validity]] -A2</code> | ||
[[openssl x509]] -inform [[der]] -in cerfile.cer -noout -text | [[openssl x509]] -inform [[der]] -in cerfile.cer -noout -text | ||
Line 11: | Line 12: | ||
− | |||
== Related commands == | == Related commands == |
Revision as of 10:18, 3 December 2022
openssl x509 -inform pem -noout -text
openssl x509 -noout -text -in /path/to/your/cert.pem
openssl x509 -noout -text -in /path/to/your/cert.pem | grep Validity -A2
openssl x509 -inform der -in cerfile.cer -noout -text openssl x509 -inform pem -in cerfile.cer -noout -text
Convert from .cer to .pem
openssl x509 -inform der -in myCert.cer -out certificate.pem
Related commands
See also
- X.509, ASN.1,
openssl x509
,.pem, der
, PFX, PKCS, SAN,openssl x509, CSR
openssl
[rand | s_client | passwd
|openssl req
|openssl rsa
|openssl genrsa
|openssl x509
|openssl ca
|openssl verify
|openssl ec
|openssl dgst
|openssl pkcs12
|openssl asn1parse
|openssl help
|.cer to .pem, openssl version
Advertising: