Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost _default_:443>
- # General setup for the virtual host
- DocumentRoot "C:\xampp\htdocs"
- ServerName example.com
- ServerAlias *.example.com
- ErrorLog "/xampp/apache/logs/error.log"
- TransferLog "/xampp/apache/logs/access.log"
- # SSL Engine Switch:
- # Enable/Disable SSL for this virtual host.
- SSLEngine on
- SSLProxyEngine on
- SSLProxyVerify none
- SSLProxyCheckPeerCN off
- SSLProxyCheckPeerName off
- SSLProxyCheckPeerExpire off
- SSLCertificateFile "C:\xampp\apache\ssl\ix.crt"
- #SSLCertificateFile "conf/ssl.crt/server.crt"
- #SSLCertificateFile "conf/ssl.crt/server.crt"
- SSLCertificateKeyFile "C:\xampp\apache\ssl\ix.key"
- #SSLCertificateKeyFile "conf/ssl.key/server.key"
- #SSLCertificateKeyFile "conf/ssl.key/server.key"
- #SSLCertificateChainFile "${SRVROOT}/conf/server-ca.crt"
- # Certificate Authority (CA):
- #SSLCACertificatePath "${SRVROOT}/conf/ssl.crt"
- #SSLCACertificateFile "${SRVROOT}/conf/ssl.crt/ca-bundle.crt"
- # Certificate Revocation Lists (CRL):
- #SSLCARevocationPath "${SRVROOT}/conf/ssl.crl"
- #SSLCARevocationFile "${SRVROOT}/conf/ssl.crl/ca-bundle.crl"
- #SSLCARevocationCheck chain
- # Client Authentication (Type):
- #SSLVerifyClient require
- #SSLVerifyDepth 10
- # TLS-SRP mutual authentication:
- #SSLSRPVerifierFile "${SRVROOT}/conf/passwd.srpv"
- # Access Control:
- #<Location />
- #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
- # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
- # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
- # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
- # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
- # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
- #</Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement