SHARE
TWEET

Untitled

a guest Jan 19th, 2020 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Listen 443 https
  2.  
  3. SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
  4.  
  5. SSLSessionCache         shmcb:/run/httpd/sslcache(512000)
  6. SSLSessionCacheTimeout  300
  7.  
  8. SSLRandomSeed startup file:/dev/urandom  256
  9. SSLRandomSeed connect builtin
  10.  
  11. SSLCryptoDevice builtin
  12.  
  13. <VirtualHost _default_:443>
  14.  
  15. DocumentRoot "/var/www/html"
  16. ServerName www.example.com:443
  17.  
  18. ErrorLog logs/ssl_error_log
  19. TransferLog logs/ssl_access_log
  20. LogLevel warn
  21.  
  22. SSLEngine on
  23.  
  24. SSLHonorCipherOrder on
  25.  
  26. SSLCipherSuite PROFILE=SYSTEM
  27. SSLProxyCipherSuite PROFILE=SYSTEM
  28.  
  29. SSLCertificateFile /etc/ssl/httpd/certs/selfsigned.crt
  30.  
  31. SSLCertificateKeyFile /etc/ssl/httpd/private/selfsigned.key
  32.  
  33. SSLCertificateChainFile /etc/ssl/httpd/private/selfsigned.key
  34.  
  35. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  36.     SSLOptions +StdEnvVars
  37. </FilesMatch>
  38. <Directory "/var/www/cgi-bin">
  39.     SSLOptions +StdEnvVars
  40. </Directory>
  41.  
  42. BrowserMatch "MSIE [2-5]" \
  43.          nokeepalive ssl-unclean-shutdown \
  44.          downgrade-1.0 force-response-1.0
  45.  
  46. CustomLog logs/ssl_request_log \
  47.           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  48.  
  49. </VirtualHost>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top