Difference between revisions of "Openssl x509 -inform"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  openssl x509 -inform der -in cerfile.cer -noout -text
+
  [[openssl x509]] -inform [[der]] -noout -text -in /path/to/cerfile.cer  
  openssl x509 -inform pem -in cerfile.cer -noout -text
+
  openssl x509 -inform [[pem]] -noout -text -in /path/to/cerfile.cer  
  
 +
Certificate:
 +
    Data:
 +
        Version: 3 (0x2)
 +
        Serial Number: 0 (0x0)
 +
        Signature Algorithm: sha256WithRSAEncryption
 +
        Issuer: CN = kubernetes
 +
        Validity
 +
            Not Before: Nov 10 19:45:26 2022 GMT
 +
            Not After : Nov  7 19:45:26 2032 GMT
 +
        Subject: CN = kubernetes
 +
        Subject Public Key Info:
 +
            Public Key Algorithm: rsaEncryption
 +
                Public-Key: (2048 bit)
 +
                Modulus:
  
 +
 +
== Related ==
 +
* [[x509]]
 +
* [[How to check certification expiration date from command line]]
  
 
== See also ==
 
== See also ==
{{openssl x509}}
+
* {{openssl x509}}
 +
* {{X.509}}
 +
 
 +
[[Category:Cryptography]]

Latest revision as of 10:40, 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 
Certificate:
   Data:
       Version: 3 (0x2)
       Serial Number: 0 (0x0)
       Signature Algorithm: sha256WithRSAEncryption
       Issuer: CN = kubernetes
       Validity
           Not Before: Nov 10 19:45:26 2022 GMT
           Not After : Nov  7 19:45:26 2032 GMT
       Subject: CN = kubernetes
       Subject Public Key Info:
           Public Key Algorithm: rsaEncryption
               Public-Key: (2048 bit)
               Modulus:


Related[edit]

See also[edit]

Advertising: