SSL接続ができない

# /etc/init.d/httpd graceful
httpd not running, trying to start
Apache/2.2.3 mod_ssl/2.2.3 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server pre.vijint.com:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.


https:コモンネーム
を叩いても接続エラー。


httpsが動いているかどうかの確認。

# netstat -a | grep https

⇒結果が何も返ってこない=httpsが動いていない

/etc/httpd/conf.d/ssl.conf

に以下を追記

Listen *:443

NameVirtualHost *:443
Listen *:443

DocumentRoot "/var/www/html"
ServerName ore.mychuno.com

SSLEngine on
SSLCertificateChainFile /etc/httpd/conf/ssl.crt/dvcacert.cer
SSLCertificateFile /etc/httpd/conf/ssl.crt/ssl.globalsign.com.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/ssl.vijint.com201203.key

補足

SSL証明書情報をコマンドライン上で確認する。

$ openssl s_client -connect ホスト名:443 -showcerts<<