# Secure (SSL/TLS) connections Include conf/extra/httpd-ssl.conf
$ cd /opt/local/apache2/conf/ $ sudo openssl genrsa -des3 -out server.key 1024 $ sudo openssl req -new -x509 -days 365 -key server.key -out server.crt $ sudo openssl rsa -in server.key -out server.key # パスフレーズ解除 $ sudo apachectl start