0
我爲Tom配置了Tomcat 7。我產生這樣在server.xml這個Tomcat Eclipse ERR_SSL_VERSION_OR_CIPHER_MISMATCH
keytool -genkey -alias tomcat -keyalg RSA
密鑰庫,我有
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keyAlias="tomcat" keystoreFile="/Users/xxxxx/.keystore" keystorePass="changeit" />
如果我直接運行Tomcat,$ TOMCAT_HOME /斌/ startup.sh,當我訪問https://localhost:8443從Chrome中,至少我得到了不受信任的證書的警告,等等
但是,如果我在Eclipse啓動Tomcat,它不斷收到此錯誤
localhost uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
我甚至增加了密碼的連接器,但還是同樣的錯誤
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keyAlias="tim" keystoreFile="/Users/z0029mb/.keystore" keystorePass="changeit"
ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA,
TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA"/>
JAVA_HOME是jdk1.8.0_101,爲Eclipse和Tomcat的,在OS X上運行那麼,爲什麼Eclipse的Tomcat插件干擾了什麼Tomcat的啓動使得Tomcat的行爲有所不同?