在Tomcat的Connector中设置SSLEnabled="false "和scheme="https "有问题吗?

问题描述 投票:0回答:1

我只是看到一个Tomcat的Connector配置,我无法解释。

<Connector 
  port="8080"
  scheme="https" secure="true"
  proxyName="<server_name>" proxyPort="443"
  maxThreads="150" protocol="HTTP/1.1"
  useBodyEncodingForURI="true" maxHttpHeaderSize="65536"
  SSLEnabled="false"
  sslProtocol="TLS" clientAuth="false"
  keystoreFile="<path_to_file>"
  keystorePass="<password>" keystoreType="PKCS12"
/>

关于HTTPS,这个服务器的行为是什么?是否会启用SSL?我问这个问题是因为SSLEnabled设置为 "false","scheme "仍然是 "https","secure "仍然是 "true"。

ssl tomcat9
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.