質問概要
MacOSX(El Capitan)のApacheに、Let's Encryptの証明書を適応し、
httpsでアクセスできるようにしたい。
質問
内容は、概要のとおりです。
Let's Encryptで証明書を発行することはできたのですが、それをApacheにどのように適応していけば良いのかが分かりません。
とりあえずやってみたこと。
httpd.conf
の
#Include /private/etc/apache2/extra/httpd-ssl.conf
の
シャープを外す
/private/etc/apache2/extra/httpd-ssl.conf
に
SSLCertificateFile "/etc/letsencrypt/live/ドメイン名/cert.pem"
SSLCertificateKeyFile "/etc/letsencrypt/live/ドメイン名/privkey.pem"
SSLCertificateChainFile "/etc/letsencrypt/live/ドメイン名/chain.pem"
を追加
sudo apachectl restart
↓
apachectl -t
AH00526: Syntax error on line 52 of /private/etc/apache2/extra/httpd-ssl.conf:
Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration
一応
http://qiita.com/okey01/items/7b93854883bef4292686
を参考にやっていますが……
完全に詰まりました。
何処がダメなのか、ご存じの方がいらっしゃいましたらご教示願います。
追記
Server version: Apache/2.4.18 (Unix)
Server built: Feb 20 2016 20:03:19
51 # while OpenSSL disabled these by default in 0.9.8zf/1.0.0r/1.0.1m/1.0.2a. 52 SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4 53 SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4 54
解決策をまとめました
回答1件
あなたの回答
tips
プレビュー