Guest User

Untitled

a guest
Feb 21st, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. # OMFG! I want to f*ck Github's brains out!!
  2.  
  3. Listen 443
  4.  
  5. AddType application/x-x509-ca-cert .crt
  6. AddType application/x-pkcs7-crl .crl
  7.  
  8. SSLPassPhraseDialog builtin
  9.  
  10. SSLSessionCache "shmcb:/private/var/run/ssl_scache(512000)"
  11. SSLSessionCacheTimeout 300
  12.  
  13. SSLMutex "file:/private/var/run/ssl_mutex"
  14.  
  15. <VirtualHost *:443>
  16.  
  17. ServerAdmin james@localhost
  18. ServerName localhost:443
  19. DocumentRoot "/Users/james/Sites/rails/ssl/public"
  20. ErrorLog "/private/var/log/apache2/rails-error_log"
  21. CustomLog "/private/var/log/apache2/rails-access_log" common
  22.  
  23. <Directory "/Library/WebServer/rails/public">
  24. AllowOverride All
  25. Allow from all
  26. </Directory>
  27.  
  28. SSLEngine on
  29.  
  30.  
  31. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  32.  
  33. SSLCertificateFile "/private/etc/apache2/certs/newcert.pem"
  34.  
  35. SSLCertificateKeyFile "/private/etc/apache2/certs/server.nopass.key"
  36.  
  37. SSLCACertificateFile "/private/etc/apache2/certs/demoCA/cacert.pem"
  38.  
  39. SSLCARevocationPath "/private/etc/apache2/certs/demoCA/crl"
  40.  
  41. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  42. SSLOptions +StdEnvVars
  43. </FilesMatch>
  44. <Directory "/Library/WebServer/CGI-Executables">
  45. SSLOptions +StdEnvVars
  46. </Directory>
  47.  
  48. BrowserMatch ".*MSIE.*" \
  49. nokeepalive ssl-unclean-shutdown \
  50. downgrade-1.0 force-response-1.0
  51.  
  52. CustomLog "/private/var/log/apache2/ssl_request_log" \
  53. "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  54. </VirtualHost>
Add Comment
Please, Sign In to add comment