我正在尝试通过以下方式从 tomcat 服务器获取 https url。
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="/root/.keystore" keystorePass="key-password"
clientAuth="false" sslProtocol="TLS" />
但它给出了不安全的 https url。
我可以从 tomcat 服务器获取安全的 https url 以分发我的应用程序吗?
任何建议将不胜感激。
最佳答案
您看到红色“不安全”
https 的原因是因为您提供的证书是自签名的。如果您从任何授权供应商处获得签名证书并使用该证书,您将获得所需的绿色“安全”
。
关于tomcat - 来自 tomcat 服务器的安全 https url,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49426708/