Created
January 26, 2015 21:06
-
-
Save dschneller/b364cb9b5a2acb5c3ec4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
? openssl-samples cd EXAMPLE.COM | |
? EXAMPLE.COM openssl genrsa -out example.com.key 2048 | |
Generating RSA private key, 2048 bit long modulus | |
.................................................+++ | |
..............................................................................................+++ | |
e is 65537 (0x10001) | |
? EXAMPLE.COM openssl req -new -sha256 -key example.com.key -out www.example.com.csr | |
You are about to be asked to enter information that will be incorporated | |
into your certificate request. | |
What you are about to enter is what is called a Distinguished Name or a DN. | |
There are quite a few fields but you can leave some blank | |
For some fields there will be a default value, | |
If you enter '.', the field will be left blank. | |
----- | |
Country Name (2 letter code) [AU]:DE | |
State or Province Name (full name) [Some-State]:Baden-Wuerttemberg | |
Locality Name (eg, city) []:Aalen | |
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Example Dot Com GmbH | |
Organizational Unit Name (eg, section) []: | |
Common Name (e.g. server FQDN or YOUR name) []:www.example.com | |
Email Address []: | |
Please enter the following 'extra' attributes | |
to be sent with your certificate request | |
A challenge password []: | |
An optional company name []: | |
? EXAMPLE.COM ls | |
example.com.key www.example.com.csr | |
? EXAMPLE.COM openssl req -in www.example.com.csr -noout -text | |
Certificate Request: | |
Data: | |
Version: 0 (0x0) | |
Subject: C=DE, ST=Baden-Wuerttemberg, L=Aalen, O=Example Dot Com GmbH, CN=www.example.com | |
Subject Public Key Info: | |
Public Key Algorithm: rsaEncryption | |
RSA Public Key: (2048 bit) | |
Modulus (2048 bit): | |
00:bc:54:2e:e3:a1:1f:b2:3a:79:00:d5:4c:a3:6f: | |
9c:2d:fe:99:ff:e9:ef:35:60:5a:48:4c:55:5a:3b: | |
21:73:be:a4:89:88:98:f6:09:62:3b:17:b5:3c:c9: | |
b6:3d:a8:3c:6b:23:a5:d5:7c:8a:68:0e:cf:ae:9a: | |
c1:9e:c6:2b:9a:9f:f9:17:c3:17:b2:56:68:60:a9: | |
72:2b:91:ac:35:5f:57:59:b7:3d:79:0d:49:25:2e: | |
54:c9:81:9f:49:26:0a:ec:c0:a7:56:03:0f:ae:32: | |
eb:8c:0e:e7:06:96:07:55:b7:73:c0:29:5e:44:94: | |
0b:eb:53:e3:3c:b9:5a:f3:09:19:06:9c:b9:8e:9f: | |
64:61:be:d8:c2:5c:cb:d2:9c:b6:78:11:f1:7c:86: | |
2e:2e:78:cf:ae:86:94:82:22:9f:e5:13:af:77:45: | |
c6:86:a9:cc:40:74:21:fa:db:9f:05:cc:fe:34:f0: | |
a4:d1:c7:51:5a:ea:bc:a0:4e:a5:1e:6f:61:3e:c8: | |
86:69:da:b8:c9:83:52:57:d5:a8:fc:8e:e6:e3:20: | |
6c:04:88:ef:f0:08:e8:ae:ac:8a:b5:ef:5a:af:a8: | |
86:2b:d4:76:b4:37:03:22:e4:b0:6d:85:7d:a7:49: | |
38:ac:c4:19:d1:b0:7a:72:0f:f0:1c:42:43:eb:3d: | |
22:79 | |
Exponent: 65537 (0x10001) | |
Attributes: | |
a0:00 | |
Signature Algorithm: sha256WithRSAEncryption | |
1b:f4:02:80:9d:30:68:99:2c:37:94:9b:9a:a2:f0:1f:b9:8c: | |
97:31:fb:41:0c:2d:98:48:b5:75:36:0b:94:6f:e3:31:67:c7: | |
f0:3d:f7:4d:48:d0:ec:bb:de:8a:56:8d:93:91:0e:29:21:18: | |
33:58:3e:64:48:00:4f:69:1f:d3:02:39:ab:74:e0:31:f2:2e: | |
75:6a:ba:88:66:d1:53:fc:ff:ed:0a:b5:d8:0f:ca:08:ef:1f: | |
9f:96:7f:bd:d8:ba:59:2d:a4:1c:c8:5c:59:a9:4d:4c:36:fb: | |
a0:a5:74:13:21:f1:3f:30:7b:f3:f5:c2:3e:fa:24:7d:61:9a: | |
c6:75:60:de:b6:32:7e:77:3a:19:d2:ec:e4:95:e8:0a:73:68: | |
eb:09:f8:c4:10:44:b4:30:f7:22:97:95:a5:9e:f0:bb:92:ea: | |
16:1b:bb:5c:ba:fb:b9:93:24:35:0d:51:6b:19:7f:94:bc:31: | |
43:74:c3:7b:62:67:86:ea:47:24:f2:17:2d:02:19:6b:36:56: | |
fc:68:56:26:92:85:90:70:21:3e:54:c9:7a:69:31:26:5c:a6: | |
de:48:d6:9e:77:47:0d:42:5b:7a:8d:28:09:71:18:e6:8f:b7: | |
fd:a3:ca:0b:07:b6:41:43:6b:6e:a9:6f:ab:89:01:89:cd:16: | |
03:59:95:3c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment