OpenSSL Self-Signed Certificate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= =Example= openssl x509 -noout -text -in ./self-signed-server-certificate.pem <syntaxhighlight> Certificate: Data: Version: 3 (0x2) Serial Nu...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Public Key Security#OpenSSL_Self-Signed_Certificate_Example|Public Key Security]] | |||
=Example= | =Example= | ||
Line 5: | Line 7: | ||
openssl x509 -noout -text -in ./self-signed-server-certificate.pem | openssl x509 -noout -text -in ./self-signed-server-certificate.pem | ||
<syntaxhighlight> | <syntaxhighlight lang='yaml'> | ||
Certificate: | Certificate: | ||
Data: | Data: | ||
Line 12: | Line 14: | ||
b4:0d:11:24:d4:1b:8c:44 | b4:0d:11:24:d4:1b:8c:44 | ||
Signature Algorithm: sha256WithRSAEncryption | Signature Algorithm: sha256WithRSAEncryption | ||
Issuer: C=US, L=Menlo Park, O=Nova Ordis LLC, CN= | Issuer: C=US, L=Menlo Park, O=Nova Ordis LLC, CN=www.example.com | ||
Validity | Validity | ||
Not Before: Apr 8 09:27:40 2018 GMT | Not Before: Apr 8 09:27:40 2018 GMT | ||
Not After : Jun 7 09:27:40 2037 GMT | Not After : Jun 7 09:27:40 2037 GMT | ||
Subject: C=US, L=Menlo Park, O=Nova Ordis LLC, CN= | Subject: C=US, L=Menlo Park, O=Nova Ordis LLC, CN=www.example.com | ||
Subject Public Key Info: | Subject Public Key Info: | ||
Public Key Algorithm: rsaEncryption | Public Key Algorithm: rsaEncryption |
Latest revision as of 03:45, 9 April 2018
Internal
Example
openssl x509 -noout -text -in ./self-signed-server-certificate.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
b4:0d:11:24:d4:1b:8c:44
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=US, L=Menlo Park, O=Nova Ordis LLC, CN=www.example.com
Validity
Not Before: Apr 8 09:27:40 2018 GMT
Not After : Jun 7 09:27:40 2037 GMT
Subject: C=US, L=Menlo Park, O=Nova Ordis LLC, CN=www.example.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:ce:ab:8f:f6:2f:f1:4b:63:c6:ed:ea:8f:25:30:
72:f9:fb:d6:5a:93:32:0e:20:6d:64:f6:55:37:09:
f6:61:f4:f7:e4:9b:89:96:f0:91:99:72:85:28:46:
90:8c:4e:30:5e:43:48:1f:c4:ce:d7:4f:3d:bf:5d:
71:e9:16:fc:dd:92:09:a8:dd:1b:7a:d5:35:19:24:
70:35:85:c8:e8:6d:77:e6:0d:7f:84:cd:06:fb:26:
47:db:a4:fc:53:0a:fe:e4:bf:a4:ac:70:a6:99:db:
94:c5:74:e2:48:80:6f:07:cb:ab:7a:f3:63:8d:af:
e2:48:bd:1f:a4:c5:31:85:63:9b:93:7a:15:8f:fd:
c4:b0:47:b0:04:ad:18:3f:a0:d5:ca:7e:2a:a4:da:
e3:5e:dc:64:d1:06:3a:69:83:85:87:e9:26:bb:02:
17:c2:0f:ab:78:6b:de:93:18:00:1e:5c:47:e7:3e:
45:27:fc:3f:4a:a6:50:33:f3:97:b1:c6:be:e3:d3:
4c:ef:88:ac:1e:dd:e9:ee:97:30:48:5d:81:b7:fd:
b8:d9:93:a9:3a:d2:2a:a7:5b:57:e0:24:f9:c1:31:
5a:39:85:16:f7:45:15:09:da:9b:8c:53:73:08:36:
8b:e1:10:8a:56:3f:f2:ce:a9:6d:ca:02:62:b2:ae:
40:7b
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
B2:DA:94:80:CE:E8:61:DA:CA:15:85:97:A8:D8:A1:E4:37:A7:5A:9D
X509v3 Authority Key Identifier:
keyid:B2:DA:94:80:CE:E8:61:DA:CA:15:85:97:A8:D8:A1:E4:37:A7:5A:9D
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha256WithRSAEncryption
25:68:ce:2b:28:60:9f:29:d6:14:b5:1f:3e:8e:dc:2c:fe:0a:
13:19:ca:ca:27:e8:1e:4c:7f:fe:3c:25:5b:5c:b5:94:c6:56:
cd:11:a2:25:a9:a9:5d:7d:54:a6:5a:a9:ed:10:42:9c:1a:a7:
5a:8c:9e:e8:9e:77:d4:77:93:d2:04:8a:3e:6c:5a:4f:31:c6:
c0:02:c9:76:e1:80:59:cc:fe:e0:59:dd:72:41:f0:14:c1:b0:
0b:85:5c:46:3d:a0:a4:40:77:5d:e8:e0:5b:f9:a5:4e:21:83:
13:e6:38:c0:8d:39:51:95:1f:83:c7:61:14:ed:cb:03:27:34:
fa:49:a8:17:15:f0:64:77:19:b8:f2:28:e5:17:a7:04:5a:1d:
63:18:27:14:6d:95:bd:6a:ec:db:7e:ee:f8:eb:53:00:a5:e2:
07:ff:9d:1d:c8:b8:db:da:ea:71:63:6d:28:10:81:59:ec:86:
88:d9:e5:bf:45:32:8a:b0:2b:06:4b:25:75:d7:b1:71:33:ef:
6a:0d:34:b8:5e:15:19:07:07:65:49:16:61:81:d2:2e:f0:ab:
da:85:e6:1b:dc:9f:3c:5a:89:6f:65:e4:c1:ce:dc:f7:66:4d:
f1:1d:fe:8b:f4:5f:aa:0a:5d:68:ca:68:00:c9:b3:0a:f8:b9:
e8:dc:76:5c