Collections:
Other Resources:
OpenSSL "x509 -text" - View Self-Signed Certificate in Text
How to print contents of a self-signed certificate in text format using OpenSSL "x509" command?
✍: FYIcenter.com
If you want to see contents of a self-signed certificate in text format, you can use the OpenSSL "x509 -text" command as shown below:
C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> x509 -in my_rsa.crt -text -noout Certificate: Data: Version: 3 (0x2) Serial Number: 9e:3c:9f:bd:61:b5:e5:f2 Signature Algorithm: sha256WithRSAEncryption Issuer: C=us, ST=NY, L=New York, O=Donald Inc., OU=IT, CN=www.donald.inc/emailAddress=john@donald.inc Validity Not Before: Aug 20 22:30:43 2016 GMT Not After : Sep 19 22:30:43 2016 GMT Subject: C=us, ST=NY, L=New York, O=Donald Inc., OU=IT, CN=www.donald.inc/emailAddress=john@donald.inc Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (1024 bit) Modulus: 00:d1:8b:18:1f:8d:8d:bf:cd:d2:75:f0:e9:f0:4a: 25:73:98:12:82:87:91:98:cd:fb:d7:da:36:25:2c: 2d:c3:1d:f1:ac:b6:76:cb:d1:fc:67:1f:18:b3:83: af:19:1b:8a:10:3d:f9:8a:25:01:85:da:16:d0:fa: f4:3e:cd:a6:1f:0b:7d:e6:29:91:85:fa:59:fe:36: 5c:50:93:e0:fb:e3:6a:63:e4:66:1e:9c:83:e3:28: 7b:21:57:73:f5:18:7b:9b:03:0f:67:5b:bd:56:01: dd:32:ca:32:fb:04:75:77:9d:66:de:c1:1f:80:01: c7:bc:57:a6:0b:b7:9e:26:57 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 0C:CF:45:C7:9F:36:C2:DD:F3:36:49:0B:E9:C2:65:DF:FD:61:1B:95 X509v3 Authority Key Identifier: keyid:0C:CF:45:C7:9F:36:C2:DD:F3:36:49:0B:E9:C2:65:DF:FD:61:1B:95 X509v3 Basic Constraints: CA:TRUE Signature Algorithm: sha256WithRSAEncryption 68:29:df:67:a1:d4:0a:53:23:32:4f:07:ef:17:8f:35:9a:2c: c8:9a:47:82:c5:12:46:26:23:d3:13:c4:2a:d4:da:dc:84:3c: 5f:25:c2:aa:21:39:ea:9e:5a:43:8c:d6:03:97:16:f8:d0:44: 71:ed:4a:3c:7f:dc:fb:fc:09:89:3e:8f:bf:b6:1d:29:43:c1: 70:4f:7c:21:19:f9:c5:e4:5a:3d:71:ef:80:b5:2e:4a:93:e9: 0d:23:28:73:25:b1:45:72:db:ba:ac:5f:55:ef:8c:46:94:5b: 58:df:cb:a7:31:33:a5:83:d7:8d:86:7b:9d:74:de:ed:63:a8: 3f:32
Options used in this "req" command are:
⇒ OpenSSL "verify" - Validate Self-Signed Certificate
⇐ OpenSSL "req -new -x509" - Generate Self-Signed Certificate
2016-11-20, 2039🔥, 0💬
Popular Posts:
How to get certificate detailed properties in Windows PowerShell? You can get detailed properties of...
Certificate summary - Owner: a248.e.akamai.net, "Akamai Technologies, Inc.", L=Cambridge, ST=MA, US ...
Certificate summary - Owner: adf.ly, Domain Control Validated Issuer: SERIALNUMBER=07969287, Go Dadd...
Certificate summary - Owner: *.swagbucks.com, Domain Control Validated Issuer: SERIALNUMBER=07969287...
What is the difference between "rsautl -encrypt" and "rsautl -verify" commands? There is only 1 diff...