ローカルの開発環境にSSLを設定した際のメモです。 仮想環境(VMWare)上にLinuxでサーバを構築しています。 今回の設定でSSLでアクセス出来るようにします。 ただ証明書は自分で署名したもの、、あくまでも開発用途です。 (1).opensslをインストール [prompt]# yum install -y openssl (2).mod_sslをインストール [prompt]# yum install -y mod_ssl (3).秘密鍵の作成 [prompt]# mkdir -p /etc/httpd/conf/ssl.key [prompt]# cd /etc/httpd/conf/ssl.key/ [prompt]# openssl genrsa -des3 -out server.key 1024 (4).パス無しに作り直す apache再起動のたびにパスを聞かれないように