Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd "C:\Program Files (x86)\Apache2\bin"
- openssl req -config ../conf/openssl.cnf -new -out XXX.csr -keyout XXX.pem
- >> Fill in "PEM pass phrase" and "Common Name"
- openssl rsa -in XXX.pem -out XXX.key
- >> Delete the .rnd file
- openssl x509 -in XXX.csr -out XXX.cert -req -signkey XXX.key -days 365
- LoadModule ssl_module modules/mod_ssl.so
- <IfModule ssl_module>
- Include conf/extra/httpd-ssl.conf
- </IfModule>
- NameVirtualHost *:443
- >> Copy XXX.key and XXX.cert to conf/ssl
- >> More information http://www.neilstuff.com/apache/apache2-ssl-windows.htm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement