Advertisement
Guest User

Untitled

a guest
Sep 28th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. <VirtualHost _default_:443>
  2.  
  3. # General setup for the virtual host
  4. DocumentRoot "C:\xampp\htdocs"
  5. ServerName example.com
  6. ServerAlias *.example.com
  7. ErrorLog "/xampp/apache/logs/error.log"
  8. TransferLog "/xampp/apache/logs/access.log"
  9.  
  10. # SSL Engine Switch:
  11. # Enable/Disable SSL for this virtual host.
  12. SSLEngine on
  13. SSLProxyEngine on
  14. SSLProxyVerify none
  15. SSLProxyCheckPeerCN off
  16. SSLProxyCheckPeerName off
  17. SSLProxyCheckPeerExpire off
  18.  
  19. SSLCertificateFile "C:\xampp\apache\ssl\ix.crt"
  20. #SSLCertificateFile "conf/ssl.crt/server.crt"
  21. #SSLCertificateFile "conf/ssl.crt/server.crt"
  22.  
  23. SSLCertificateKeyFile "C:\xampp\apache\ssl\ix.key"
  24. #SSLCertificateKeyFile "conf/ssl.key/server.key"
  25. #SSLCertificateKeyFile "conf/ssl.key/server.key"
  26. #SSLCertificateChainFile "${SRVROOT}/conf/server-ca.crt"
  27.  
  28. # Certificate Authority (CA):
  29. #SSLCACertificatePath "${SRVROOT}/conf/ssl.crt"
  30. #SSLCACertificateFile "${SRVROOT}/conf/ssl.crt/ca-bundle.crt"
  31.  
  32. # Certificate Revocation Lists (CRL):
  33. #SSLCARevocationPath "${SRVROOT}/conf/ssl.crl"
  34. #SSLCARevocationFile "${SRVROOT}/conf/ssl.crl/ca-bundle.crl"
  35. #SSLCARevocationCheck chain
  36.  
  37. # Client Authentication (Type):
  38. #SSLVerifyClient require
  39. #SSLVerifyDepth 10
  40.  
  41. # TLS-SRP mutual authentication:
  42. #SSLSRPVerifierFile "${SRVROOT}/conf/passwd.srpv"
  43.  
  44. # Access Control:
  45. #<Location />
  46. #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
  47. # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
  48. # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
  49. # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
  50. # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
  51. # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
  52. #</Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement