Difference between revisions of "Openssl x509"

From wikieduonline
Jump to navigation Jump to search
 
(29 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 -noout -text -in /path/to/your/cert[[.pem]]</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]] | grep [[Validity]] -A2</code>
 +
* <code>[[openssl x509 -noout -dates]]</code>
 +
 
 +
[[openssl x509 -inform]] [[der]] -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>
 +
openssl x509 -inform der -in myCert.cer -out certificate.pem
 +
 
 +
== Activities ==
 +
* [[How to check certification expiration date from command line]]
 +
* [[Create new x509 certificate: openssl req -x509 -newkey]]
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[openssl pkcs12]]</code>
 
* <code>[[openssl pkcs12]]</code>
 +
* [[To view .cer files]]
 +
* [[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: