Difference between revisions of "Openssl x509"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  [[openssl x509]] -inform [[der]] -in cerfile.cer -noout -text
 
  [[openssl x509]] -inform [[der]] -in cerfile.cer -noout -text
 
  openssl x509 -inform [[pem]] -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 ==
 
== Related commands ==

Revision as of 00:40, 22 February 2022

  • openssl x509 -inform pem -noout -text
  • openssl x509 -noout -text -in /path/to/your/cert.pem
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

Advertising: