我在Heroku上添加新的SSL证书时遇到问题。 我在Ruby on Rails上的应用程序。 我有entrust.crt,root.txt和chain.txt文件
我有以下问题。
heroku certs:添加public.pem private.key -a myapp 解决信任链......失败了 !没有钥匙被发现签署证书。
heroku certs:添加public.pem private.key -a myapp --bypass 将SSL端点添加到myapp ...失败 !密钥与PEM证书
不匹配请帮我生成PEM证书
我关注https://devcenter.heroku.com/articles/ssl-endpoint但无法配置请帮我配置。
请给我配置步骤。
entrustcert.crt
-----开始证书----- MIIFTTCCBDWgAwIBAgIETCI5YjANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UE BhMCVVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5l bnRydXN0Lm5ldC9ycGEgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEf MB0GA1UECxMWKGMpIDIwMDkgRW50cnVzdCwgSW5jLjEuMCwGA1UEAxMlRW50 cnVzdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEwxQzAeFw0xNDAyMjUy MzIwMTFaFw0xNTAyMjYwMzUxMzBaMIGYMQswCQYDVQQGEwJVUzETMBEGA1UE CBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIQmVya2VsZXkxIjAgBgNVBAoTGVN0 cmF0ZWdlbiBDb25zdWx0aW5nLCBMTEMxFTATBgNVBAsTDERPRSBEYXRhYmFz ZTEmMCQGA1UEAxMdd3d3LmVuZXJneXN0b3JhZ2VleGNoYW5nZS5vcmcwggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3Sa0aHnPzJyjxPyJSbvzQ 19qslKTePKhK3ZkHqQ53KWsdiHDRahY + r1ptEU4IT9ljIuvBc5Ecr1 / CSCAN 4iz4JAzWE3pTKR5AroyrYbsUT + ryXjHQn / IxUXfTMS / mjp2IqvXCHut0AqfE YLDTLruxEUtrBUjrIxuBDPPcdxwYQIwrGAcYTMZiEajAuGRsbGBt1EcEqYAp W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BQUHAQEEJzAlMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5lbnRydXN0 Lm5ldDAyBgNVHR8EKzApMCegJaAjhiFodHRwOi8vY3JsLmVudHJ1c3QubmV0LzIw NDhjYS5jcmwwOwYDVR0gBDQwMjAwBgRVHSAAMCgwJgYIKwYBBQUHAgEWGmh0dHA6 Ly93d3cuZW50cnVzdC5uZXQvcnBhMB0GA1UdDgQWBBQe8auJBvhJDwEzd + 4Ueu4Z fJMoTTAfBgNVHSMEGDAWgBRV5IHREYC + 2Im5CKMx + aEkCRa5cDANBgkqhkiG9w0B AQUFAAOCAQEAQJqHfojUzCanS / p4SiDV + aI2IbvuW6BPRI3PqvmXF5aEqchnm7vm EN551lZqpHgUSdl87TBeaeptJEZaiDQ9JifPaUGEHATaGTgu24lBOX5lH51aOszh DEw3oc5gk6i1jMo / uitdTBuBiXrKNjCc / 4Tj / jrx93lxybXTMwPKd86wuinSNF1z / 6T98iW4NUV5eh + Xrsm + CmiEmXQ5qE56JvXN3iXiN4VlB6fKxQW3EzgNLfBtGc7e mWEn7kVuxzn / 9sWL4Mt8ih7VegcxKlJcOlAZOKlE + jyoz + 95nWrZ5S6hjyko1 + YQ wfsm5p9GJKaxB825DOgNghYAHZaS / KYIoA == -----结束证书-----
L1Croot.txt
-----开始证书----- MIIEKjCCAxKgAwIBAgIEOGPe + DANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChMLRW50cnVzdC5u ZXQxQDA + BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBpbmNvcnAuIGJ5IHJlZi4gKGxp bWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNV BAMTKkVudHJ1c3QubmV0IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQx NzUwNTFaFw0yOTA3MjQxNDE1MTJaMIG0MRQwEgYDVQQKEwtFbnRydX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URZVE = -----结束证书-----
答案 0 :(得分:1)
听起来您没有在public.pem
证书中正确包含签名证书链。此证书必须包含主机SSL证书,以及返回根证书的完整证书链。
如果您拥有证书和证书授权链,则必须将它们合并到一个heroku.pem
证书文件中,如下所示:
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: your_domain_name.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: TrustedRoot.crt)
-----END CERTIFICATE-----
您需要按照上面的确切顺序在单个文件中组合这些证书条目。
在你的情况下,那应该是:
-----BEGIN CERTIFICATE-----
MIIFTTCCBDWgAwIBAgIETCI5YjANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0Lm5ldC9ycGEgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMWKGMpIDIwMDkgRW50cnVzdCwgSW5jLjEuMCwGA1UEAxMlRW50cnVzdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEwxQzAeFw0xNDAyMjUyMzIwMTFaFw0xNTAyMjYwMzUxMzBaMIGYMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIQmVya2VsZXkxIjAgBgNVBAoTGVN0cmF0ZWdlbiBDb25zdWx0aW5nLCBMTEMxFTATBgNVBAsTDERPRSBEYXRhYmFzZTEmMCQGA1UEAxMdd3d3LmVuZXJneXN0b3JhZ2VleGNoYW5nZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3Sa0aHnPzJyjxPyJSbvzQ19qslKTePKhK3ZkHqQ53KWsdiHDRahY+r1ptEU4IT9ljIuvBc5Ecr1/CscAN4iz4JAzWE3pTKR5AroyrYbsUT+ryX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FY3h7CI3zJpDC5fcgJCNs2ebb0gIFVbPv/ErfF6adulZkMV8gzURZVE=
-----END CERTIFICATE-----
如果您在格式化方面遇到问题,请参阅文件内容的要点:https://gist.github.com/wpeterson/3220e0be105a3cbe4eef
答案 1 :(得分:0)
我遇到了这个问题,事实证明我正在从Comodo下载一个旧证书。当我下载正确的证书时,它工作正常。
此外,我能够使用此命令包含所有中间证书,而不必将它们合并为1个文件:
heroku certs:update *.crt server.key -a my-app