Skip to content

Instantly share code, notes, and snippets.

@nasa114
Last active November 10, 2016 01:21
Show Gist options
  • Save nasa114/07b18c9cc77297a2593f215f1fe65e0e to your computer and use it in GitHub Desktop.
Save nasa114/07b18c9cc77297a2593f215f1fe65e0e to your computer and use it in GitHub Desktop.
KUSANAGI内のApacheでLet's Encryptのエラーを解決する ref: http://qiita.com/nasa114/items/77840fc1a6460540e6ae
SSLCertificateFile /etc/letsencrypt/live/[domain]/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/[domain]/privkey.pem
11月 03 09:40:41 kusanagi71 apachectl[510]: AH00526: Syntax error on line 16 of /etc/httpd/conf.d/[profile_name]_ssl.conf:
11月 03 09:40:41 kusanagi71 apachectl[510]: SSLCertificateFile: file '/etc/letsencrypt/live/[domain]/fullchain.pem;' does not exist or is empty
ServerName [domain]
ServerName www.[domain]
ServerName [domain]
ServerAlias www.[domain]
kusanagi ssl --email [your_mail_address] [profile_name]
systemctl reload httpd
kusanagi ssl --email [your mail address] [profile name]
systemctl reload httpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment