728x90
반응형
SMALL

Web&Spring2020. 11. 6. 13:45
728x90
반응형
SMALL

 

 

 

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" />

 

728x90
반응형
LIST
Posted by 사슴영혼'-'
728x90
반응형
LIST