Last active
December 11, 2015 03:28
-
-
Save kamituel/4537473 to your computer and use it in GitHub Desktop.
Generating CSR on Linux
This file contains hidden or 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 genrsa -des3 -out domainname.key 2048 # protect key with passphrase | |
$ openssl genrsa -out domainname.key 2048 # do not use passphrase | |
$ openssl req -sha1 -new -key domainname.key -out domainname.csr | |
# ... truncated | |
Country Name (2 letter code) [XX]:PL | |
State or Province Name (full name) []:Mazowieckie | |
Locality Name (eg, city) [Default City]:Warsaw | |
Organization Name (eg, company) [Default Company Ltd]: | |
Organizational Unit Name (eg, section) []: | |
Common Name (eg, your name or your server's hostname) []:my.domain.com | |
Email Address []:kamituel <AT> gmail.com | |
# you can leave the password blank | |
A challenge password []: | |
An optional company name []: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment