문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
os:ubuntu:letsencrypt [2020/06/06 18:23] starlits [TOMCAT 설정] |
os:ubuntu:letsencrypt [2020/06/06 21:22] starlits |
||
---|---|---|---|
줄 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:// |