我正在尝试在Tomcat7中安装SSL证书。这是我到目前为止所做的。
installed ssl certificate received on email
sudo ./keytool -import -trustcacerts -alias download.addressdoctor -keystore /usr/local/tomcat7/bin/keystore.jks -file /usr/local/tomcat7/conf/certx509.cer
Installed Intermediate certificate
sudo ./keytool -import -trustcacerts -alias intermediate -keystore /usr/local/tomcat7/bin/keystore.jks -file /usr/local/tomcat7/conf/combined.cer
这些是我在密钥库中的条目
Keystore type: JKS Keystore provider: SUN Your keystore contains 2 entries Alias name: adnewkey Creation date: Sep 10, 2014 Entry type: trustedCertEntry Owner: CN=website.com, OU=IT, O=company, L=City, ST=state, C=country ******************************************* ******************************************* Alias name: mykey Creation date: Sep 10, 2014 Entry type: PrivateKeyEntry Certificate chain length: 1 Certificate[1]: Owner: CN=website.com, OU=IT, O=company
现在,如果我尝试通过https://ssltools.websecurity.symantec.com/checker/views/certCheck.jsp
检查证书它说它是自签名证书,而我安装了从verisign收到的证书。如果我删除条目“别名mykey”,那么它将显示错误没有找到根证书。
请帮助我指出我做错了什么,也是为了运行SSL证书,密钥库中应该包含哪些值。
谢谢,