自签名SSL无法在工作站上使用

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

我正在RH Linux 7上为tomcat实例修改一个自签名证书,但是有一段时间,所以我没有浏览器警告。我在这里(Getting Chrome to accept self-signed localhost certificate)遵循了这些人的指示,并尝试使用keytool将.crt导入到我的tomcat实例中。使用以下命令-

[创建密钥库-keytool -keysize 2048 -genkey -alias tomcat -keyalg RSA -keystore tomcat.keystore

导入在stackoverflow步骤中创建的myCA.pem文件-keytool -import -alias intermed -keystore tomcat.keystore -trustcacerts -file myCA.pem

最后导入从stackoverflow创建的.crt-keytool -import -alias tomcat -keystore tomcat.keystore -trustcacerts -filesigned.crt

现在,在Linux 7上,我可以访问警告并访问server.domain.com:8443或server:8443,但是在Windows工作站上,我只能访问server:8443,而不能访问FQDN。我已将myCa.pem和signed.crt都作为受信任的根颁发机构导入到我的计算机中。

我在做什么错?非常感谢!

ssl tomcat self-signed
1个回答
0
投票

我能理解的是。您已生成SSL证书并将其导入计算机中。希望您已使用ssl信息更新了conf / server.xml。更新后,重新启动服务并检查

© www.soinside.com 2019 - 2024. All rights reserved.