티스토리 뷰
반응형
certbot 인증서 삭제 방법
# 인증서 조회를 통해 삭제할 인증서 내용 찾기
$ sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: test.xxx.kr
Serial Number: 4bdf9b5c27e81617c68b3aece89a4ff8689
Key Type: ECDSA
Domains: test.xxx.kr
Expiry Date: 2024-09-11 00:14:38+00:00 (VALID: 48 days)
Certificate Path: /etc/letsencrypt/live/test.xxx.kr/fullchain.pem
Private Key Path: /etc/letsencrypt/live/test.xxx.kr/privkey.pem
Certificate Name: test.xxx.com
Serial Number: 457b9624f929c1725f38500e4f00baf660b
Key Type: ECDSA
Domains: test.xxx.com
Expiry Date: 2024-09-10 06:04:27+00:00 (VALID: 48 days)
Certificate Path: /etc/letsencrypt/live/test.xxx.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/test.xxx.com/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Certificate Path 인증서 삭제 (Y를 계속 누르면 됨)
$ sudo certbot revoke --cert-path /etc/letsencrypt/live/test.xxx.kr/fullchain.pem
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you like to delete the certificate(s) you just revoked, along with all
earlier and later versions of the certificate?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es (recommended)/(N)o: y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following certificate(s) are selected for deletion:
* test.xxx.kr
WARNING: Before continuing, ensure that the listed certificates are not being
used by any installed server software (e.g. Apache, nginx, mail servers).
Deleting a certificate that is still being used will cause the server software
to stop working. See https://certbot.org/deleting-certs for information on
deleting certificates safely.
Are you sure you want to delete the above certificate(s)?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
Deleted all files relating to certificate test.xxx.kr.
Congratulations! You have successfully revoked the certificate that was located at /etc/letsencrypt/live/test.xxx.kr/fullchain.pem.
# 인증서 명으로 삭제 (Y를 계속 누르면 됨)
$ sudo certbot delete --cert-name test.xxx.kr
# 삭제 확인
$ sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: test.xxx.com
Serial Number: 457b9624f929c1725f38500e4f00baf660b
Key Type: ECDSA
Domains: test.xxx.com
Expiry Date: 2024-09-10 06:04:27+00:00 (VALID: 48 days)
Certificate Path: /etc/letsencrypt/live/test.xxx.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/test.xxx.com/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
반응형
'DevOps' 카테고리의 다른 글
Amazon Linux 2023 에서 docker 삭제 방법 (0) | 2024.07.22 |
---|---|
Nginx + certbot 으로 SSL 세팅 (Amazon Linux 2023) (0) | 2024.06.13 |
리눅스 가상메모리 세팅 방법 (0) | 2024.06.11 |
EC2 스토리지 증설 및 세팅 방법 (0) | 2024.06.05 |
Error response from daemon: Get "https://registry-1.docker.io/v2/": tls: failed to verify certificate: x509: certificate is valid for xxx, not registry-1.docker.io 에러 해결 방법 (0) | 2024.06.04 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 제주도 스쿠터 여행
- 담양 여행
- kendo grid
- 영광 여행
- 남자 혼자 여행
- 군산 여행
- 스쿠터 여행
- Docker
- 군산 가볼만한곳
- 송내역 룸카페
- 보성 여행
- 국제반점
- 군산 게스트하우스
- 송내 카페
- 나래바이크
- vscode
- 오라클 DB 링크
- 윈드스크린
- 초원사진관
- 전국 일주 여행
- 남자 혼자 국내 여행
- 리니지m
- 은파호수공원
- 인터바이크
- 스쿠터 전국 일주
- 베스파LX
- 송내 룸카페
- 송내역 카페
- 고흥 여행
- 돌장갑
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
글 보관함