Apache1.3でSSLの設定メモ

# cd /etc/httpd/conf
# openssl genrsa -out server.key 1024 ssl.key/server.key
# openssl req -new -x509 -days 365 -key ssl.key/server.key  -out ssl.crt/server.crt

/etc/httpd/conf/httpd.conf の中を以下のように編集

SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key