Last active
December 21, 2015 11:38
-
-
Save IchHabRecht/6299775 to your computer and use it in GitHub Desktop.
[APACHE] SSL certificate under Windows 7
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment