Advertisement
IchHabRecht

SSL certificate under Windows 7

Aug 14th, 2012
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. cd "C:\Program Files (x86)\Apache2\bin"
  2.  
  3. openssl req -config ../conf/openssl.cnf -new -out XXX.csr -keyout XXX.pem
  4.  
  5. >> Fill in "PEM pass phrase" and "Common Name"
  6.  
  7. openssl rsa -in XXX.pem -out XXX.key
  8.  
  9. >> Delete the .rnd file
  10.  
  11. openssl x509 -in XXX.csr -out XXX.cert -req -signkey XXX.key -days 365
  12.  
  13. LoadModule ssl_module modules/mod_ssl.so
  14.  
  15. <IfModule ssl_module>
  16. Include conf/extra/httpd-ssl.conf
  17. </IfModule>
  18.  
  19. NameVirtualHost *:443
  20.  
  21. >> Copy XXX.key and XXX.cert to conf/ssl
  22. >> More information http://www.neilstuff.com/apache/apache2-ssl-windows.htm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement