서버/호스팅
2018.06.30 22:51
조회 수 : 511
1. cebort-auto 다운로드
wget https://dl.eff.org/certbot-auto
2. 실행파일로 변경한다.
chmod a+x ./certbot-auto
3. 아래 명령어로 사용법을 알 수 있다.
./certbot-auto --help
4. 인증서 생성
443 포트 사용중인 웹서버 실행 중지
systemctl stop nginx.service
./certbot-auto certonly
standalone선택
systemctl start nginx.service
5. 인증서 갱신
certbot-auto renew
6. 인증서 삭제
certbot-auto delete --cert-name 인증서이름
참조 : https://certbot.eff.org/docs/