Skip to content

Instantly share code, notes, and snippets.

@Palantir555
Created April 19, 2016 13:46
Show Gist options
  • Save Palantir555/9717f6db0a50baa1d6de3027745b87db to your computer and use it in GitHub Desktop.
Save Palantir555/9717f6db0a50baa1d6de3027745b87db to your computer and use it in GitHub Desktop.
$ openssl x509 -in ./root.pem -text
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 10639602844312501225 (0x93a7766a767b7be9)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=cn, ST=gd, L=sz, O=hw, OU=nsd, CN=zx/emailAddress=zx@tom.com
Validity
Not Before: May 24 02:34:27 2007 GMT
Not After : May 21 02:34:27 2017 GMT
Subject: C=cn, ST=gd, L=sz, O=hw, OU=nsd, CN=zx/emailAddress=zx@tom.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (1024 bit)
Modulus:
00:e3:7b:72:f6:b7:90:94:0d:0f:a1:0a:3f:92:c7:
ed:2b:87:a8:07:ea:a1:88:23:ad:62:e8:28:81:50:
9c:44:99:9b:77:b1:21:b3:3c:71:a4:07:0a:d7:d5:
5d:5b:52:e5:ad:ba:f3:ae:a3:1b:7e:44:8f:a3:43:
1b:1a:07:f5:31:a7:65:4a:1b:6f:53:b7:db:08:fb:
03:a0:95:b3:8f:04:30:28:0b:e2:1d:ba:6b:dc:15:
99:8b:b5:d6:53:30:f0:26:42:98:bd:ec:b2:50:c9:
b9:67:a6:4a:6d:70:af:78:d5:e6:59:90:64:31:93:
e5:92:57:db:12:bd:49:11:19
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Key Usage:
Digital Signature, Certificate Sign, CRL Sign
X509v3 Subject Key Identifier:
35:0A:33:EA:AB:BA:AB:CB:3D:FC:2D:00:86:3B:FC:85:47:C2:3C:D9
X509v3 Authority Key Identifier:
keyid:35:0A:33:EA:AB:BA:AB:CB:3D:FC:2D:00:86:3B:FC:85:47:C2:3C:D9
DirName:/C=cn/ST=gd/L=sz/O=hw/OU=nsd/CN=zx/emailAddress=zx@tom.com
serial:93:A7:76:6A:76:7B:7B:E9
Signature Algorithm: sha1WithRSAEncryption
dc:bf:43:82:58:61:aa:ad:4c:50:8d:fb:2a:4c:da:ab:c6:62:
85:da:82:86:ae:69:25:ee:8a:16:91:f7:df:d0:07:02:1e:b4:
6a:60:ee:5c:a8:fc:b5:b0:fe:b2:f4:92:21:6e:85:12:a6:6c:
62:64:f4:b0:fe:b8:ec:db:87:d1:09:01:57:d4:54:d7:1c:11:
b5:63:91:f0:59:00:f7:11:2e:1d:b2:7b:5e:1c:cb:a1:3f:47:
39:61:64:37:d3:31:40:fb:67:ca:ad:e1:f8:fc:b7:64:7d:93:
48:d8:3e:a6:ae:b4:74:af:f0:93:11:7f:98:76:22:0d:82:f0:
0a:09
-----BEGIN CERTIFICATE-----
MIIDITCCAoqgAwIBAgIJAJOndmp2e3vpMA0GCSqGSIb3DQEBBQUAMGoxCzAJBgNV
BAYTAmNuMQswCQYDVQQIEwJnZDELMAkGA1UEBxMCc3oxCzAJBgNVBAoTAmh3MQww
CgYDVQQLEwNuc2QxCzAJBgNVBAMTAnp4MRkwFwYJKoZIhvcNAQkBFgp6eEB0b20u
Y29tMB4XDTA3MDUyNDAyMzQyN1oXDTE3MDUyMTAyMzQyN1owajELMAkGA1UEBhMC
Y24xCzAJBgNVBAgTAmdkMQswCQYDVQQHEwJzejELMAkGA1UEChMCaHcxDDAKBgNV
BAsTA25zZDELMAkGA1UEAxMCengxGTAXBgkqhkiG9w0BCQEWCnp4QHRvbS5jb20w
gZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAON7cva3kJQND6EKP5LH7SuHqAfq
oYgjrWLoKIFQnESZm3exIbM8caQHCtfVXVtS5a26866jG35Ej6NDGxoH9TGnZUob
b1O32wj7A6CVs48EMCgL4h26a9wVmYu11lMw8CZCmL3sslDJuWemSm1wr3jV5lmQ
ZDGT5ZJX2xK9SREZAgMBAAGjgc4wgcswCwYDVR0PBAQDAgGGMB0GA1UdDgQWBBQ1
CjPqq7qryz38LQCGO/yFR8I82TCBnAYDVR0jBIGUMIGRgBQ1CjPqq7qryz38LQCG
O/yFR8I82aFupGwwajELMAkGA1UEBhMCY24xCzAJBgNVBAgTAmdkMQswCQYDVQQH
EwJzejELMAkGA1UEChMCaHcxDDAKBgNVBAsTA25zZDELMAkGA1UEAxMCengxGTAX
BgkqhkiG9w0BCQEWCnp4QHRvbS5jb22CCQCTp3Zqdnt76TANBgkqhkiG9w0BAQUF
AAOBgQDcv0OCWGGqrUxQjfsqTNqrxmKF2oKGrmkl7ooWkfff0AcCHrRqYO5cqPy1
sP6y9JIhboUSpmxiZPSw/rjs24fRCQFX1FTXHBG1Y5HwWQD3ES4dsnteHMuhP0c5
YWQ30zFA+2fKreH4/LdkfZNI2D6mrrR0r/CTEX+YdiINgvAKCQ==
-----END CERTIFICATE-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment