18F / https

(Deprecated) https guidance for the 18F team
Other
156 stars 16 forks source link

openssl key and csr generation commands #1

Closed konklone closed 10 years ago

konklone commented 10 years ago

Add these to the README and put them in context:

# generate an encrypted private 2048-bit key
openssl genrsa -aes256 -out my-private-encrypted.key 2048

# decrypt the key, in order to generate the CSR
openssl rsa -in my-private-encrypted.key -out my-private-decrypted.key

# generate the CSR (delete decrypted key unless this is the production server)
openssl req -new -sha256 -key my-private-decrypted.key -out mydomain.com.csr
konklone commented 10 years ago

Addressed by #9.