Difference between revisions of "Openssl x509 -inform"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[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 | ||
+ | |||
+ | 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: | ||
Revision as of 10:37, 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
See also
Advertising: