Apacheは --enable-ssl を付けてインストールしている必要があります。
# openssl genrsa 1024 > server.key
# openssl req -new -x509 -key server.key > server.crt Country Name (2 letter code) [GB]:JP State or Province Name (full name) [Berkshire]:Pref Locality Name (eg, city) [Newbury]:City Organization Name (eg, company) [My Company Ltd]:company Organizational Unit Name (eg, section) []:system1 Common Name (eg, your name or your server's hostname) []:example.com Email Address []:.
# /usr/local/apache2/bin/apachectl stop # /usr/local/apache2/bin/apachectl start