Skip to content

Instantly share code, notes, and snippets.

@surendrans
Forked from sivakumarbdu/ssh-keys
Created April 1, 2013 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save surendrans/5285960 to your computer and use it in GitHub Desktop.
Save surendrans/5285960 to your computer and use it in GitHub Desktop.
download open ssl for windows: http://www.openssl.org/source/
Reference :
http://www.neilstuff.com/apache/apache2-ssl-windows.htm (for installation)
http://www.napcsweb.com/howto/rails/deployment/RailsWithApacheAndMongrel.pdf (for httpd.conf and ssl.conf & proxy fix)
Sample openssl confi (required to create key file)
__________________________________________________
conf file: http://tud.at/programm/openssl.cnf
generate .pem and key file file
__________________
openssl req -config openssl.cnf -new -out test.csr -keyout test.pem
openssl rsa -in test.pem -out test.key
openssl x509 -in test.csr -out test.cert -req -signkey test.key -days 365
httpd.conf
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule userdir_module modules/mod_userdir.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment