Tomcat配置ssl只有localhost能访问?
Tomcat配置ssl只有localhost能访问? 看下图该怎么解决
tomcat配置:
<Connector port="8082" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
maxThreads="150"
scheme="https"
secure="true"
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_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"
clientAuth="false"
sslProtocol="TLS"
keystoreFile="D:/tomcat/apache-tomcat-6.0.43/umc/key/tyyh"
keystorePass="cgkj123456" />
回答:
你为什么下面不加8082的端口号呢? localhost只等于你的本地IP192.168.1.108 并不包含端口
以上是 Tomcat配置ssl只有localhost能访问? 的全部内容, 来源链接: utcz.com/p/177013.html