letsencrypt generator
Enter YourDomain
letsencrypt generator for your domain
#procedure
service httpd stop
certbot certonly
1
yourDomain.com
service httpd start
.
vi /etc/httpd/conf.d/httpd-vhosts-yourDomain.com.conf
letsencrypt generator Result
SSLCertificateFile /etc/letsencrypt/live/yourDomain.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/yourDomain.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/yourDomain.com/chain.pem
<VirtualHost *:80> ServerName yourDomain.com ServerAlias www.yourDomain.com Redirect 301 / https://yourDomain.com/ </VirtualHost> <VirtualHost *:443> ServerAdmin a@tion.kr DocumentRoot /var/www/html/site_yourDomain_Directory_Full_url ServerName yourDomain.com ServerAlias yourDomain.com SSLEngine ON SSLCertificateFile /etc/letsencrypt/live/yourDomain.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/yourDomain.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/yourDomain.com/chain.pem ErrorLog logs/error_common_log CustomLog logs/yourDomain.com-access_log common <Directory /var/www/html/site_yourDomain_Directory_Full_url> Options FollowSymLinks AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost>
certbot 모듈을 이용하여 SSL 인증서를 자동으로 설치하는 방법입니다.
이 방법대로 완료하고 최종적으로 HTTP config 파일을 수정하기 위해 letsencrypt generator 페이지를 만들게 되었습니다.
잘 사용하세요