公共 SSL 证书错误 [英] Public SSL certificate Error
问题描述
我们已经使用 Jenkins 完成了 JIRA 的设置.从 Jira 端,它显示 Jenkins 工作,但从 Jenkins 端无法连接 Jira.SSL 证书问题正在显示
We have done the setup for JIRA with Jenkins. From Jira side, it displayed Jenkins job but from Jenkins side not able to connect Jira. SSL certificate issue is getting displayed
要求:Jenkins 与 Jira 集成.
Requirement: Jenkins integration with Jira.
1) Jenkins 应该与 Jira 集成
2) 作业构建成功或失败时自动更新工单.
3) 如果测试失败,在 Jira 中创建 bug
1) Jenkins should be integrated with Jira
2) update tickets automatically when a job is built successfully or failed.
3) Create bug in Jira if test failed
到现在为止.
1) 创建代码以使用 mvn 和 SVN 运行测试
2) 将 SVN 集成到 Jenkins [工作正常]
3) 安装 Jira 插件、JiraTestResultReporter、Jiraissueupdater
Done Till Now.
1) Created code to run the test using mvn and SVN
2) Integrated SVN to Jenkins [working fine]
3) Install Jira plugin, JiraTestResultReporter, Jiraissueupdater
请帮我获取公共 SSL 证书
Please help me to get public SSL certificate
推荐答案
试试这些步骤!
第 1 步:获取 https://www.google.com
- 在 chrome 浏览器中打开 https://www.google.com.
- 从上下文菜单中选择检查(右键单击页面)并导航到安全选项卡
- 点击查看证书
- 单击层次结构中最顶部的证书,并确认其尾部带有根 CA 短语.
- 拖放您在桌面上看到书面证书的图像.
就是这样!您获得了根证书!
Thats it! you got your root certificate!
第 2 步:将证书安装到您的 java cacerts
Step 2 : install certificate to your java cacerts
请确认您已声明了系统变量 JAVA_HOME,并且您将仅在该 jre cacerts 上执行这些步骤!
please verify you have system variable JAVA_HOME declared and you will perform these steps on that jre cacerts only!
- 通过 JAVA_HOME/jre/lib/security/cacerts 导航到 cacerts
- 下载并安装适用于所有平台的 keytool explorer
- 在该工具中打开 cacerts 并通过导入受信任的证书"按钮导入证书.
- 保存您的更改(如果是 mac 并且您没有写入权限,您可能会遇到问题!)
第三步:重启詹金斯
从现在开始,您应该不会遇到 ssl 握手问题.
You should not get ssl handshake problem now onwards.
这篇关于公共 SSL 证书错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!