https://www.svennd.be/lets-encrypt-with-centos-6/
apache配置注意
LoadModule ssl_module modules/mod_ssl.so
<VirtualHost *:443>
# server setup
ServerName svennd.be
ServerAlias www.svennd.be
ServerAdmin webmaster@svennd.be
DocumentRoot /var/www/svennd
# ssl setup
SSLEngine ON
SSLProtocol all -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4"
SSLCertificateFile /etc/letsencrypt/live/www.svennd.be/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.svennd.be/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/www.svennd.be/chain.pem
<Directory "/var/www/svennd">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
# server setup
ServerName svennd.be
ServerAlias www.svennd.be
DocumentRoot /var/www/svennd
<Directory "/var/www/svennd">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>