letsencrypt 설치
sudo apt install letsencrypt
certbot 설치
sudo add-apt-repository ppa:certbot/certbot
sudo apt update -y
sudo apt install python-certbot-apache
인증서 최초 발급
sudo certbot --apache -d 도메인이름
/etc/letsencrypt/live/도메인이름 디렉토리에 인증서 파일이 저장됨
인증서 갱신
sudo certbot renew