관련 글 -[Apache] Certbot (무료 SSL 인증서) 설치 및 적용 방법
|
CertBot 인증서 갱신
1. Dry run
[root@web03]# sudo certbot renew --dry-run
(해당 명령어는 서버에 등록된 인증서 체크 인증서 적용 이 가능한지 확인 하는 명령어)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/web03.mydomain.com.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for web03.mydomain.com
Waiting for verification...
Cleaning up challenges
-------------------------------------------------------------------------------
new certificate deployed with reload of apache server; fullchain is
/etc/letsencrypt/live/web03.mydomain.com/fullchain.pem
-------------------------------------------------------------------------------
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/web03.mydomain.com/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
성공 여부 확인 후, 실제 갱신 작업 수행...
2. run
[root@web03]# certbot renew
(해당 명령어는 인증서 갱신하는 명령어 이고, 실행시 서비스 재시작 없이 즉시 인증서 갱신이 진행된다.)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/web03.mydomain.com.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for web03.mydomain.com
Waiting for verification...
Cleaning up challenges
-------------------------------------------------------------------------------
new certificate deployed with reload of apache server; fullchain is
/etc/letsencrypt/live/web03.mydomain.com/fullchain.pem
-------------------------------------------------------------------------------
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/web03.mydomain.com/fullchain.pem (success)
-끝-
'IT | Middleware > Apache' 카테고리의 다른 글
[Apache] Certbot (무료 SSL 인증서) 설치 및 적용 방법 (0) | 2020.02.16 |
---|---|
[Apache | 튜닝] keepAlive 옵션 설정하기 (0) | 2020.02.08 |
[Apache | 튜닝] httpd_mpm 설정 (0) | 2020.02.07 |
[Apache] vhost 여러 개 등록하기 (설정 파일 | 리눅스 기준) (3) | 2020.01.30 |
[APM 패턴 | Apache] Linux에 아파치 설치 및 설정 (소스 파일을 이용한 설치) (2) | 2019.12.22 |