CentOS 7.x Free SSL Certificate
# yum install mod_ssl letsencrypt
# systemctl stop httpd
# letsencrypt certonly --standalone -d www.example.com
Configration for Apache
# vi /etc/httpd/conf.d/www.example.com.conf
<VirtualHost www.example.com:443>
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/www.example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/www.example.com/fullchain.pem
ServerName www.example.com
DocumentRoot /var/www/html
ErrorLog logs/www.example.com_error_log
CustomLog logs/www.example.com_access_log common
</VirtualHost>
reference
http://blog.ivps.kr/188
http://blog.ivps.kr/189
댓글 없음:
댓글 쓰기