2. 도메인에 대한 SSL 인증서를 발급받는다.
# 도메인에 대한 SSL 인증서 발급
root@secu-VirtualBox:~# certbot certonly --standalone -d [도메인명]
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for [도메인명]
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/[도메인명]//fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/[도메인명]/privkey.pem
Your cert will expire on 2021-07-17. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
앞과 같이 ‘Congratulations!’ 메시지가 나왔다면 도메인에 대한 SSL 인증서가 정상적으로 발급된 것이다.