按照几个教程,我已经安装了我的 SSL 证书,如下所示:
步骤 1. 使用密钥和 CSR 导入密钥库
keytool -importkeystore -srckeystore /root/cert/keystore.jks -destkeystore /usr/share/glassfish3/glassfish/domains/domain1/config/keystore.jks
步骤 2. 导入根证书、中间证书和签名证书
keytool -import -trustcacerts -keystore /usr/share/glassfish3/glassfish/domains/domain1/config/keystore.jks -alias root -file /root/cert/Equifax.crt
keytool -import -trustcacerts -keystore /usr/share/glassfish3/glassfish/domains/domain1/config/keystore.jks -alias intermediate1 -file /root/cert/RapidSSL_Primary_Intermediate.crt
keytool -import -trustcacerts -keystore /usr/share/glassfish3/glassfish/domains/domain1/config/keystore.jks -alias intermediate2 -file /root/cert/RapidSSL_Secondary_Intermediate.crt
keytool -import -trustcacerts -keystore /usr/share/glassfish3/glassfish/domains/domain1/config/keystore.jks -alias mydomain_com -file /root/cert/mydomain_com.crt
3.重命名domain.xml中的所有s1as
引用mydomain_com
4.重启域
/usr/share/glassfish3/glassfish/bin/asadmin restart-domain domain1
我的证书链正确地声明了4
. 与alias
CSR、签名证书的导入和domain.xml
.
但是,在访问时https://mydomain.com
我没有得到任何响应,而它与默认的自签名证书一起工作正常s1as
。可能有什么问题?