[Linux]Tomcat SSL적용하기

Tomcat/conf/server.xml


Tomcat 이 설치된 폴더안에 conf/server.xml 파일을 수정한다.

<Connector port=”80″ protocol=”HTTP/1.1″ connectionTimeout=”20000″
redirectPort=”443″ />
<Connector port=”443″
protocol=”org.apache.coyote.http11.Http11NioProtocol”
connectionTimeout=”20000″
minSpareThreads=”10″
acceptCount=”100″
maxThreads=”256″
SSLEnabled=”true”
defaultSSLHostConfigName=”[도메인주소]”>
<SSLHostConfig hostName=”[도메인주소]”>
<Certificate certificateKeystoreFile=”/usr/local/ssl/[ *.jks 파일]”
certificateKeystorePassword=”[jks 파일 암호]”
certificateKeyAlias=”[도메인주소]”
type=”RSA” />
</SSLHostConfig>
</Connector>

 

댓글 남기기