[Let’s Encrypt 인증서] 발급받은 인증서 확인 및 연장 방법

# 인증서 만료일자 확인

[root@bcs16 ~]# certbot certificates Saving debug log to /var/log/letsencrypt/letsencrypt.log

—————————————-

Found the following certs: Certificate Name: ippbx.mediacall.co.kr Serial Number: 36cf2e78fbbc00f26c117b613ac7190bca3 Key Type:RSADomains: ippbx.mediacall.co.kr Expiry Date:2022-07-1002:56:19+00:00(VALID:8 days) Certificate Path:/etc/letsencrypt/live/ippbx.mediacall.co.kr/fullchain.pem Private Key Path:/etc/letsencrypt/live/ippbx.mediacall.co.kr/privkey.pem

—————————————-

[root@bcs16 ~]#

# 인증서 갱신 및 만료일자 확인

참고로 인증서 갱신 시, 방화벽 서비스에 막혀 인증서 갱신이 실패하는 경우도 있으니.. 이럴 경우는 방화벽 서비스를 잠시 정지 후 진행하면 됩니다.

[root@bcs16 ~]# systemctl stop iptables

[root@bcs16 ~]# certbot renew Saving debug log to /var/log/letsencrypt/letsencrypt.log

—————————————-

Processing /etc/letsencrypt/renewal/ippbx.mediacall.co.kr.conf

—————————————-

Cert is due for renewal, auto-renewing…

Plugins selected: Authenticator standalone, Installer None Starting newHTTPSconnection(1): acme-v02.api.letsencrypt.org Renewing an existing certificate for ippbx.mediacall.co.kr Performing the following challenges: http-01 challenge for ippbx.mediacall.co.kr Waiting for verification… Cleaning up challenges

—————————————-

newcertificate deployed without reload, fullchain is /etc/letsencrypt/live/ippbx.mediacall.co.kr/fullchain.pem

——————————————————————————– Congratulations, all renewals succeeded:/etc/letsencrypt/live/ippbx.mediacall.co.kr/fullchain.pem(success)

—————————————-

[root@bcs16 ~]# [root@bcs16 ~]# certbot certificates Saving debug log to /var/log/letsencrypt/letsencrypt.log

—————————————-

Found the following certs:

Certificate Name: ippbx.mediacall.co.kr

Serial Number: 32823d585b8ee762bd8a8d47f8d450e36f0

Key Type:RSA

Domains: ippbx.mediacall.co.kr

Expiry Date:2022-09-2905:26:47+00:00(VALID:89 days)

Certificate Path:/etc/letsencrypt/live/ippbx.mediacall.co.kr/fullchain.pem

Private Key Path:/etc/letsencrypt/live/ippbx.mediacall.co.kr/privkey.pem

—————————————-

[root@bcs16 ~]#

출처: https://m.blog.naver.com/hsunryou/222796307807


게시됨

카테고리

작성자

태그:

댓글

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

이 사이트는 Akismet을 사용하여 스팸을 줄입니다. 댓글 데이터가 어떻게 처리되는지 알아보세요.