문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| os:ubuntu:letsencrypt [2020/06/06 18:23] – [TOMCAT 설정] starlits | os:ubuntu:letsencrypt [2025/10/03 22:30] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 45: | 줄 45: | ||
| IMPORTANT NOTES: | IMPORTANT NOTES: | ||
| - The dry run was successful. | - The dry run was successful. | ||
| + | </ | ||
| + | |||
| + | ===== 인증서 폐기 ===== | ||
| + | - revoke 옵션으로 인증서를 폐기한다 <code bash> | ||
| + | letsencrypt revoke --cert-path / | ||
| </ | </ | ||
| ===== TOMCAT 설정 ===== | ===== TOMCAT 설정 ===== | ||
| - | - conf/ | + | - conf/ |
| + | - '' | ||
| <Host name=" | <Host name=" | ||
| </ | </ | ||
| <Host name=" | <Host name=" | ||
| + | </ | ||
| + | - 443 포트 설정 < | ||
| + | < | ||
| + | protocol=" | ||
| + | maxThreads=" | ||
| + | SSLEnabled=" | ||
| + | > | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | certificateKeyFile="/ | ||
| + | certificateFile="/ | ||
| + | certificateChainFile="/ | ||
| + | type=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | - redirectPort 포트 설정 < | ||
| + | < | ||
| + | | ||
| + | | ||
| </ | </ | ||
| - 만약 에러가 발생한다면 ${TOMCAT_HOME}/ | - 만약 에러가 발생한다면 ${TOMCAT_HOME}/ | ||
| # mkdir -p .well-known/ | # mkdir -p .well-known/ | ||
| </ | </ | ||
| + | - TOMCAT 서버를 위한 인증서를 생성한다 <code bash> | ||
| + | # letsencrypt certonly --webroot -w / | ||
| + | </ | ||
| + | |||
| + | ===== 참고링크 ===== | ||
| + | - https:// | ||
| + | - https:// | ||
| + | - https:// | ||