Difference between revisions of "Openssl x509"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
* https://www.openssl.org/docs/man1.1.1/man1/x509.html
  
* <code>[[openssl]] x509 -inform pem -noout -text</code>
+
* <code>[[openssl x509 --help]]</code>
 +
* <code>[[openssl x509 -inform]]</code>
 +
* <code>[[openssl x509 -text]]</code>
 +
* <code>[[openssl x509 -dates]]</code>
 +
* <code>[[openssl x509 -subject]]</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>
 
* <code>[[openssl x509 -noout -text -in]] /path/to/your/cert[[.pem]] | grep [[Validity]] -A2</code>
Line 9: Line 18:
 
  openssl x509 -inform [[pem]] -noout -text -in /path/to/cerfile[[.cer]]  
 
  openssl x509 -inform [[pem]] -noout -text -in /path/to/cerfile[[.cer]]  
  
Convert from <code>.cer</code> to <code>.pem</code>
+
Convert from <code>[[.cer]]</code> to <code>[[.pem]]</code>
 
  openssl x509 -inform der -in myCert.cer -out certificate.pem
 
  openssl x509 -inform der -in myCert.cer -out certificate.pem
  
 
== Activities ==
 
== Activities ==
 
* [[How to check certification expiration date from command line]]
 
* [[How to check certification expiration date from command line]]
 
+
* [[Create new x509 certificate: openssl req -x509 -newkey]]
  
 
== Related commands ==
 
== Related commands ==
Line 20: Line 29:
 
* [[To view .cer files]]
 
* [[To view .cer files]]
 
* [[Certificates]]
 
* [[Certificates]]
 +
[[file]] your_cert[[.pem]]
 +
your_cert.cert: [[PEM]] certificate
  
 
== See also ==
 
== See also ==
 +
* {{openssl x509}}
 
* {{X.509}}
 
* {{X.509}}
 
* {{openssl}}
 
* {{openssl}}
 
  
 
[[Category:Cryptography]]
 
[[Category:Cryptography]]
 +
[[Category:OpenSSL]]

Latest revision as of 10:48, 6 December 2023

Advertising: