2013년 2월 2일 토요일

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-443"]

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-443"]

윈도우 톰캣 이관시 ssl keyfile 문제 발생.

기존 서버
윈도우 2008
톰캣 버젼 : 7.0.14
자바 버젼 : 1.6.0_25

이관 서버
윈도우 2008 R2 64bit
톰캣 버젼 : 7.0.35
자바 버젼 : 1.7.0_11

처음에는 ssl key 파일이 64비트로 만들어 져서 그런건가 했더니, 아닌 것 같다.
다음과 같이 server.xml 을 변경하여 해결.


<Connector port="8443" 
protocol="org.apache.coyote.http11.Http11Protocol"
SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="C:\keystore\.keystore"
keystorePass="changeit"
clientAuth="false"
sslProtocol="TLS" />


기존의 protocol "HTTP/1.1" 를 "org.apache.coyote.http11.Http11Protocol" 로 바꿔 줌.

출처

댓글 없음:

댓글 쓰기