Skip to content

Instantly share code, notes, and snippets.



Created Jul 16, 2015
What would you like to do?
Generate SSL Key, CSR and Self Signed Certificate
# Generate Private Key:
openssl genrsa -out server.key 1024
# Generate a Certificate Signing Request (CSR)
openssl req -new -key server.key -out server.csr
# Generate a Self-Signed SSL Certificate
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment