【问题标题】:Self Signed Certificate in GitHub WebhookGitHub Webhook 中的自签名证书
【发布时间】:2020-10-21 09:13:51
【问题描述】:

我在 Azure VM 中使用自签名证书设置了 Jenkins 服务器,当我尝试从 GitHub 服务器设置 webhook 时,我收到错误 "We couldn’t deliver this payload: certificate signed by unknown authority"。

我们有什么方法可以将我的 CA 文件导入到 GitHub 可信条目中吗?我已经尝试在不同的论坛中搜索,但可以看到任何回复。

谢谢,

【问题讨论】:

  • 它是自签名证书,所以我没有要嵌入的任何特定 CA 文件。

标签: jenkins github jenkins-pipeline githooks


【解决方案1】:

如果您对服务器具有管理员访问权限,则可以将其安装到它的证书存储中。

很可能永远不会适用于 github.com,只适用于 github 企业。

https://docs.github.com/en/enterprise-server@3.4/admin/configuration/configuring-your-enterprise/troubleshooting-ssl-errors#installing-self-signed-or-untrusted-certificate-authority-ca-root-certificates

【讨论】:

    猜你喜欢
    • 2018-05-11
    • 2022-07-07
    • 2021-04-11
    • 2021-05-07
    • 2019-04-14
    • 2016-03-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多