Difference between revisions of "Openssl x509"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
* <code>[[openssl x509 -noout -text -in]] /path/to/your/cert[[.pem]] | grep [[Validity]] -A2</code>
 
* <code>[[openssl x509 -noout -text -in]] /path/to/your/cert[[.pem]] | grep [[Validity]] -A2</code>
  
  [[openssl x509]] -inform [[der]] -noout -text -in /path/to/cerfile[[.cer]]  
+
  [[openssl x509 -inform]] [[der]] -noout -text -in /path/to/cerfile[[.cer]]  
 
  openssl x509 -inform [[pem]] -noout -text -in /path/to/cerfile[[.cer]]  
 
  openssl x509 -inform [[pem]] -noout -text -in /path/to/cerfile[[.cer]]  
  

Revision as of 10:34, 12 September 2023

openssl x509 -inform der -noout -text -in /path/to/cerfile.cer 
openssl x509 -inform pem -noout -text -in /path/to/cerfile.cer 

Convert from .cer to .pem

openssl x509 -inform der -in myCert.cer -out certificate.pem

Activities


Related commands

See also

Advertising: