我想在我由 godaddy 托管的网站上启用 SSL。
我正在使用tomcat服务器并根据godaddy的教程安装它。
我在我的密钥库上成功安装了 CA 证书:
pssserver, Sep 3, 2018, PrivateKeyEntry,
Certificate fingerprint (SHA1): xx:xx:xx:xx: and so on
root, Sep 3, 2018, trustedCertEntry,
Certificate fingerprint (SHA1): xx:xx:xx:xx: and so on
intermed, Sep 3, 2018, trustedCertEntry,
Certificate fingerprint (SHA1): xx:xx:xx: and so on
并配置了tomcat:
<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="C:\tomcat.jks" type="RSA" keystorePass="pss@2012" />
并强制在 webapp 上启用 SSL:
<security-constraint>
<web-resource-collection>
<web-resource-name>ecommerce</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
然后我重新启动了服务器。
但在那之后,由于最后一步,我无法再访问我的网站。我试过https://website.com:443
了,但它也没有加载。
我错过了什么?请指导我
PS: 在本地主机中,它运行良好,尽管它提供了不安全的连接,包括本地主机中的项目。