简体   繁体   English

LifecycleException无效的服务器SSL协议

[英]LifecycleException Invalid Server SSL Protocol

i get an error when i start tomcat. 启动tomcat时出现错误。 Since 2 days i try to resolve it: 由于2天,我尝试解决它:

LifecycleException:  L'initialisation du gestionnaire de protocole a échoué: java.lang.Exception: Invalid Server SSL Protocol (error:00000000:lib(0):func(0):reason(0))

For understand, in my server.xml: 为了理解,在我的server.xml中:

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />

<Connector 
       port="8443" maxThreads="200"
       scheme="https" secure="true" SSLEnabled="true"
       keystorePass="changed"
       keystoreFile="/home/.keystore"
       SSLCertificateFile="/home/ssl/my.crt" 
       SSLCertificateKeyFile="/home/ssl/my.key"
       SSLPassword="changed"
       SSLVerifyClient="optional"   
       SSLProtocol="TLS"
       protocol="HTTP/1.1" />

I create keystore from scratch. 我从头开始创建密钥库。

I tried without certificate, change the protocol, without success. 我尝试了没有证书,更改协议,但是没有成功。

I changed SSLProtocol to TLSv1, tomcat give not errors, but my client have an connection reset. 我将SSLProtocol更改为TLSv1,tomcat没有给出错误,但是我的客户端重置了连接。

Some help please. 请帮忙。

Try disabling Apache tomcat's APR by commenting it's listener 尝试通过评论Apache Tomcat的侦听器来禁用它的APR

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> 

or set it's sslProtocol to 或将它的sslProtocol设置为

protocol = "org.apache.coyote.http11.Http11Protocol"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM