java.lang.Exception: Connector attribute SSLCertificateFile must be defined when using SSL with APR
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:521)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:728)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:452)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:560)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:840)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:654)
at org.apache.catalina.startup.Catalina.load(Catalina.java:679)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)
Tomcat 구동시 SSL 인증서를 적용하고 실행할때 이런 에러가 발생할 때가 있다.
이런 경우에는 server.xml에서 아래 라인을 주석해주면 된다.
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
'Web&Spring' 카테고리의 다른 글
Mybatis - 동적 쿼리 생성하기 (0) | 2020.11.25 |
---|---|
Tomcat - java.lang.ClassNotFoundException (0) | 2020.11.07 |
Tomcat APR java.library.path 못찾을때 (0) | 2020.11.06 |
META-INF\MANIFEST.MF (지정된 경로를 찾을 수 없습니다) 오류 해결 방법 (0) | 2020.11.06 |
Mybatis - 동적 쿼리 생성하기 (0) | 2020.11.06 |