< IfModule mod_ssl.c >----------httpd.conf---------
Listen 443
Listen 80
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
< / IfModule >
< IfModule mod_ssl.c >
SSLCACertificateFile /etc/apache/ssl.crt/ca-bundle.crt
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/var/run/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/var/run/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
< / IfModule >
NameVirtualHost 172.16.2.0:80
<VirtualHost 172.16.2.0:80>
ServerName abcn.com
DocumentRoot /var/www/abc
</VirtualHost>
# SSL Virtual Hosts
NameVirtualHost 172.16.2.0:443
< VirtualHost 172.16.2.0:443 >
DocumentRoot /var/www/abc
ServerName secure.abcn.com
SSLEngine on
SSLCertificateFile /etc/apache/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache/ssl.key/server.pem
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog /var/log/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
< / VirtualHost >