Last active
August 29, 2015 14:12
-
-
Save claytantor/f934ec9d748fa00e1d29 to your computer and use it in GitHub Desktop.
Generate CSR and Key Files
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 req -nodes -newkey rsa:2048 -keyout mysite_com.key -out mysite_com.csr | |
Generating a 2048 bit RSA private key | |
.........................+++ | |
.................................................................+++ | |
writing new private key to 'mysite_com.key' | |
----- | |
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) [XX]:US | |
State or Province Name (full name) []:California | |
Locality Name (eg, city) [Default City]:Oakland | |
Organization Name (eg, company) [Default Company Ltd]:Mysite | |
Organizational Unit Name (eg, section) []:IT | |
Common Name (eg, your name or your server's hostname) []:mysite.com | |
Email Address []:clay@mysite.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment