Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tomcat SSL错误秒错误未知颁发者_Tomcat_Ssl_Jira - Fatal编程技术网

Tomcat SSL错误秒错误未知颁发者

Tomcat SSL错误秒错误未知颁发者,tomcat,ssl,jira,Tomcat,Ssl,Jira,我正试图用SSL保护我的Jira应用程序。我请求了一个证书,但它不起作用-firefox返回“sec_error_unknown_issuer” 我所做的休闲步骤: 1) keytool -genkey -keyalg RSA -keystore sub_domain_tld.key -validity 360 -keysize 2048 2) keytool -certreq -keyalg RSA -file sub_domain_tld.csr -keystore sub_domain_t

我正试图用SSL保护我的Jira应用程序。我请求了一个证书,但它不起作用-firefox返回“sec_error_unknown_issuer”

我所做的休闲步骤:

1) keytool -genkey -keyalg RSA -keystore sub_domain_tld.key -validity 360 -keysize 2048
2) keytool -certreq -keyalg RSA -file sub_domain_tld.csr -keystore sub_domain_tld.key
3) keytool -import -trustcacerts -file certificate.crt -keystore sub_domain_tld.key
4) keytool -import -trustcacerts -file cert.cabundle -keystore sub_domain_tld.key

有人有想法吗?

我在jira页面的评论中找到了答案:

马修布洛克

好吧,经过一天的努力,我终于成功了 使用我现有的ssl证书。我有一个*。 在单独的文件中包含证书和私钥的证书。之后 经过多次搜索和反复试验,结果证明您可以使用 使用openssl工具创建PKCS12密钥库,其中包含您的私有密钥 然后告诉JIRA使用该密钥库。本网站 () 他对我帮助最大。但基本上,以下是步骤。。。 1.如果您的密钥没有密码(我的没有),请使用计划用于您的密钥的相同密码创建DES加密版本 密钥库。。。openssl rsa-in-des-out keyout.pem 2.确保您有一个包含证书链的文件,从服务器证书到根证书 证书类别[]>cert.pem 3.创建包含私钥和公共证书链的PKCS12密钥库。使用与导出相同的密码 您用于私钥openssl pkcs12-export-inkey keyout.pem -in cert.pem-out keystore.pkcs12 4.如上所述更新server.xml,确保定义了以下所有内容。。。A.keystrefile(指向 您在上面创建的keystore.pkcs12文件)b。keystoreType=“PKCS12”c。 keystorePass(上面使用的密码)

您应该在谷歌上搜索“Tomcat SSL配置”。我发现了这篇文章:来自atlassian的文章: