Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. openssl rsa -in privkey.pem -out new.cert.key
  2. openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -d
  3.  
  4. <IfModule mod_ssl.c>
  5. <VirtualHost _default_:443>
  6. ServerAdmin webmaster@localhost
  7.  
  8. DocumentRoot /var/www/decom/private
  9.  
  10. ErrorLog ${APACHE_LOG_DIR}/error-decom-https.log
  11. CustomLog ${APACHE_LOG_DIR}/access-decom-https.log combined
  12.  
  13. SSLEngine on
  14.  
  15. SSLCertificateFile /etc/apache2/ssl/server.crt
  16. SSLCertificateKeyFile /etc/apache2/ssl/server.key
  17.  
  18. #SSLVerifyClient require
  19. #SSLVerifyDepth 10
  20.  
  21.  
  22. <FilesMatch ".(cgi|shtml|phtml|php)$">
  23. SSLOptions +StdEnvVars
  24. </FilesMatch>
  25. <Directory /usr/lib/cgi-bin>
  26. SSLOptions +StdEnvVars
  27. </Directory>
  28.  
  29.  
  30. BrowserMatch "MSIE [2-6]"
  31. nokeepalive ssl-unclean-shutdown
  32. downgrade-1.0 force-response-1.0
  33. BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  34.  
  35. </VirtualHost>
  36. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement