사용자 도구

사이트 도구


os:ubuntu:letsencrypt

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
os:ubuntu:letsencrypt [2020/06/06 18:29]
starlits
os:ubuntu:letsencrypt [2020/06/06 21:29] (현재)
starlits
줄 53: 줄 53:
  
 ===== TOMCAT 설정 ===== ===== TOMCAT 설정 =====
-  - conf/server.xml 에서 Host name 를 수정한다. <code>+  - conf/server.xml  
 +    - ''Host name'' 수정 <code>
       <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">       <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">
 </code><code> </code><code>
       <Host name="ecp.adminschool.net"  appBase="webapps" unpackWARs="true" autoDeploy="true">       <Host name="ecp.adminschool.net"  appBase="webapps" unpackWARs="true" autoDeploy="true">
 +</code>
 +    - 443 포트 설정 <code>
 +    <Connector port="443" 
 +            protocol="org.apache.coyote.http11.Http11NioProtocol"
 +            maxThreads="150" 
 +            SSLEnabled="true" 
 +        >
 +        <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
 +        <SSLHostConfig>
 +                <Certificate 
 +                        certificateKeyFile="/etc/letsencrypt/live/ecp.adminschool.net/privkey.pem"
 +                        certificateFile="/etc/letsencrypt/live/ecp.adminschool.net/cert.pem"
 +                        certificateChainFile="/etc/letsencrypt/live/ecp.adminschool.net/fullchain.pem"
 +                        type="RSA" />
 +        </SSLHostConfig>
 +    </Connector>
 +</code>
 +    - redirectPort 포트 설정 <code>
 +    <Connector port="80" protocol="HTTP/1.1"
 +               connectionTimeout="20000"
 +               redirectPort="443" maxHttpHeaderSize="40000" />
 </code> </code>
   - 만약 에러가 발생한다면 ${TOMCAT_HOME}/webapps/ 디렉토리 아래에 ''.well-known/acme-challenge'' 디렉토리를 생성한다. <code bash>   - 만약 에러가 발생한다면 ${TOMCAT_HOME}/webapps/ 디렉토리 아래에 ''.well-known/acme-challenge'' 디렉토리를 생성한다. <code bash>
줄 68: 줄 90:
 ===== 참고링크 ===== ===== 참고링크 =====
   - https://jimnong.tistory.com/742   - https://jimnong.tistory.com/742
-  - +  - https://idchowto.com/?p=47592 
 +  - https://offbyone.tistory.com/262
os/ubuntu/letsencrypt.1591435743.txt.gz · 마지막으로 수정됨: 2020/06/06 18:29 저자 starlits