Let's Encrypt: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
(+ 비밀 키 없이 다른 사이트에서 발급한 LE 인증서를 revoke하는 방법) |
(Hreflang) |
||
(같은 사용자의 중간 판 하나는 보이지 않습니다) | |||
13번째 줄: | 13번째 줄: | ||
#: {{source|1= |
#: {{source|1= |
||
$ sudo certbot certonly --manual --preferred-challenges dns -d $mydomain.tld -d example.com}} |
$ sudo certbot certonly --manual --preferred-challenges dns -d $mydomain.tld -d example.com}} |
||
# mydomain.tld 인증은 성공하고 example.com 인증이 실패하면 certbot |
# mydomain.tld 인증은 성공하고 example.com 인증이 실패하면 {{code|certbot revoke}}로 원래 revoke하려던 인증서를 날린다. |
||
#: {{source|1= |
#: {{source|1= |
||
$ sudo certbot revoke --cert-path=/path/to/cert}} |
$ sudo certbot revoke --cert-path=/path/to/cert}} |
||
19번째 줄: | 19번째 줄: | ||
{{언어}} |
{{언어}} |
||
{{Hreflang|en=https://revi.wiki/wiki/Let%27s_Encrypt/en|ko=https://revi.wiki/wiki/Let%27s_Encrypt}} |
|||
[[분류:기술]] |
[[분류:기술]] |
2021년 2월 20일 (토) 11:37 기준 최신판
- 핸드북:기술로 돌아가기
DNS 인증으로 인증서 받기
sudo certbot certonly --manual --preferred-challenges dns -d $domain -d $domain2 -d $domain3
비밀 키 없이 다른 사이트에서 발급한 LE 인증서를 revoke하는 방법
- H:TLS#Certificate Transparency 도구를 통해 revoke할 도메인의 인증서파일을 다운로드 받는다.
- certbot에서 revoke할 도메인과 내가 통제 못 하는 도메인을 인증받으려고 시도한다.
$ sudo certbot certonly --manual --preferred-challenges dns -d $mydomain.tld -d example.com
- mydomain.tld 인증은 성공하고 example.com 인증이 실패하면
certbot revoke
로 원래 revoke하려던 인증서를 날린다.$ sudo certbot revoke --cert-path=/path/to/cert
- 파일을 다운로드한 Certificate Transparency 사이트에서 인증서가 revoke된 것을 확인한다.