Result of ./apachectl configtest is :
Syntax OK
Sir,
Main issue which i am facing is when i define SSL virtual host in
httpd-vhosts.conf file. certificate files are not being loaded properly by
apache HTTP . When i define SSL virtual host apache won't start give Bus
Error - core dumped error.
httpd-vhosts.conf :
<VirtualHost x.x.x.x:443>
SSLEngine on
SSLCertificateFile /usr/local/apache_ssl/conf/server.crt
SSLCertificateKeyFile /usr/local/apache_ssl/conf/server.key
DocumentRoot /usr/local/apache_ssl/htdocs/
<Directory "/usr/local/apache_ssl/htdocs/" >
Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ServerName mohsin.ab.com
</VirtualHost>
httpd-ssl.conf :
<IfDefine SSL>
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache "dbm:/usr/local/apache_ssl/logs/ssl_scache"
SSLSessionCache "shmcb:/usr/local/apache_ssl/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
<VirtualHost x.x.x.x:443>
# General setup for the virtual host
DocumentRoot "/usr/local/apache_ssl/htdocs/"
ServerName mohsin.ab.com
ErrorLog "/usr/local/apache_ssl/logs/error_log"
SSLEngine on
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:!MEDIUM:!SSLv2
SSLCertificateFile "/usr/local/apache_ssl/conf/server.crt"
SSLCertificateKeyFile "/usr/local/apache_ssl/conf/server.key"
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/usr/local/apache_ssl/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.
CustomLog "/usr/local/apache_ssl/logs/ssl_request_log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
--
View this message in context: http://subversion.1072662.n5.nabble.com/Bus-Error-core-dumped-Apache-not-starting-with-SSL-enabled-tp190773p190775.html
Sent from the Subversion Users mailing list archive at Nabble.com.
Received on 2014-11-02 03:05:53 CET