OpenSSL是一个实现SSL / TLS协议的开源软件工具包,以及一般的加密库。
在我的开发环境中,我正在构建将与仅接受 TLS 1.2 (Authorize.net Ruby SDK) 的 API 连接的代码。 # 在我的开发环境中,我正在构建将与仅接受 TLS 1.2(Authorize.net Ruby SDK)的 API 连接的代码。 #<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)> 我的同事可以在他的本地环境中运行代码而不会出现此错误。它依赖于ssl吗?我正在使用 openssl 1.1.1h 他正在使用 libressl。 更新: 输出: ─$ openssl s_client -showcerts -connect apitest.authorize.net:443 是: CONNECTED(00000005) depth=1 C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K verify return:1 depth=0 C = US, ST = California, L = Foster City, O = Authorize.Net, CN = *.authorize.net verify return:1 --- Certificate chain 0 s:C = US, ST = California, L = Foster City, O = Authorize.Net, CN = *.authorize.net i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K -----BEGIN CERTIFICATE----- MIIGxzCCBa+gAwIBAgIQfjbSKF+9lNAAAAAAUP5NeTANBgkqhkiG9w0BAQsFADCB ujELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsT H1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVybXMxOTA3BgNVBAsTMChjKSAy MDEyIEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ugb25seTEuMCwG A1UEAxMlRW50cnVzdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEwxSzAeFw0y MDAyMDUyMDQ0MDhaFw0yMTAzMTUyMTE0MDhaMGoxCzAJBgNVBAYTAlVTMRMwEQYD VQQIEwpDYWxpZm9ybmlhMRQwEgYDVQQHEwtG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BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC MDMGA1UdHwQsMCowKKAmoCSGImh0dHA6Ly9jcmwuZW50cnVzdC5uZXQvbGV2ZWwx ay5jcmwwSwYDVR0gBEQwQjA2BgpghkgBhvpsCgEFMCgwJgYIKwYBBQUHAgEWGmh0 dHA6Ly93d3cuZW50cnVzdC5uZXQvcnBhMAgGBmeBDAECAjBoBggrBgEFBQcBAQRc MFowIwYIKwYBBQUHMAGGF2h0dHA6Ly9vY3NwLmVudHJ1c3QubmV0MDMGCCsGAQUF BzAChidodHRwOi8vYWlhLmVudHJ1c3QubmV0L2wxay1jaGFpbjI1Ni5jZXIwHwYD VR0jBBgwFoAUgqJwdN28Uz/Pe9T3zX+nYMYKTL8wHQYDVR0OBBYEFK069bMPyloE nNXcyli5AieCD9MiMAkGA1UdEwQCMAAwDQYJKoZIhvcNAQELBQADggEBAB2wqZ17 AAmYCO4EnmXWDTp1D9iBbNQxYSnj6oR9w0kMVahQ4Q43rdERaw2BsNWByG2peXP0 GRoOTUr5dpAKu5qa1A4V93Y/pc8RuDM0mxI/EmgzO7D4eSPRvC6735sa6XVDc5mk G9hccypCAR6u+tYeXGTmcYG10zunnHPQIf67zM1INdm+pfMfBc/IzvZ7tVWkfOEQ Wl2C/+i5hcdrIONTWD7QWqmr34kZckq+NLcF0z2M70ZdwvdeWxf1xFjgGfdoakuH PsuQI8XDA9DMc3r4GbTid70rTB+z0DNajMz/jGOm7r/Sp2C8wK+ukrzd9vVpZyf/ Q+GfoA0hiovUxiI= -----END CERTIFICATE----- 1 s:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 -----BEGIN CERTIFICATE----- MIIFDjCCA/agAwIB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JzAlMCMGCCsG AQUFBzABhhdodHRwOi8vb2NzcC5lbnRydXN0Lm5ldDAwBgNVHR8EKTAnMCWgI6Ah hh9odHRwOi8vY3JsLmVudHJ1c3QubmV0L2cyY2EuY3JsMDsGA1UdIAQ0MDIwMAYE VR0gADAoMCYGCCsGAQUFBwIBFhpodHRwOi8vd3d3LmVudHJ1c3QubmV0L3JwYTAd BgNVHQ4EFgQUgqJwdN28Uz/Pe9T3zX+nYMYKTL8wHwYDVR0jBBgwFoAUanImetAe 733nO2lR1GyNn5ASZqswDQYJKoZIhvcNAQELBQADggEBADnVjpiDYcgsY9NwHRkw y/YJrMxp1cncN0HyMg/vdMNY9ngnCTQIlZIv19+4o/0OgemknNM/TWgrFTEKFcxS BJPok1DD2bHi4Wi3Ogl08TRYCj93mEC45mj/XeTIRsXsgdfJghhcg85x2Ly/rJkC k9uUmITSnKa1/ly78EqvIazCP0kkZ9Yujs+szGQVGHLlbHfTUqi53Y2sAEo1GdRv c6N172tkw+CNgxKhiucOhk3YtCAbvmqljEtoZuMrx1gL+1YQ1JH7HdMxWBCMRON1 exCdtTix9qrKgWRs6PLigVWXUX/hwidQosk8WwBD9lu51aX8/wdQQGcHsFXwt35u Lcw= -----END CERTIFICATE----- 2 s:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 -----BEGIN CERTIFICATE----- MIIEPjCCAyagAwIBAgIESlOMKDANBgkqhkiG9w0BAQsFADCBvjELMAkGA1UEBhMC VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50 cnVzdC5uZXQvbGVnYWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3Qs IEluYy4gLSBmb3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2G2v 1fN2D807iDginWyTmsQ9v4IbZT+mD12q/OWyFcq1rca8PdCE6OoGcrBNOTJ4vz4R nAuknZoh8/CbCzB428Hch0P+vGOaysXCHMnHjf87ElgI5rY97HosTvuDls4MPGmH VHOkc8KT/1EQrBVUAdj8BbGJoX90g5pJ19xOe4pIb4tF9g== -----END CERTIFICATE----- --- Server certificate subject=C = US, ST = California, L = Foster City, O = Authorize.Net, CN = *.authorize.net issuer=C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K --- No client certificate CA names sent --- SSL handshake has read 4298 bytes and written 641 bytes Verification: OK --- New, TLSv1.2, Cipher is AES256-GCM-SHA384 Server public key is 2048 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.2 Cipher : AES256-GCM-SHA384 Session-ID: A2982432F7DD99178A611C2F5D25409F91236B173AF83B08C0E479142EB590AF Session-ID-ctx: Master-Key: ECBB0DEAE245D006AA30D090D9D00B8C937DBECB2F8D1A19EC8B720A5B3A1A946B55FC00C20778E0FD89E6EF98A730E1 PSK identity: None PSK identity hint: None SRP username: None Start Time: 1608845194 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: yes 我在那里没有看到自签名证书?还是我走错路了... 代码很简单,如果你愿意的话可以在家尝试一下。 include AuthorizeNet::API trx = AuthorizeNet::API::Transaction.new('8Gxa...', '6LKh9...', gateway: :sandbox) request = CreateCustomerProfileRequest.new request.profile = CustomerProfileType.new request.profile.merchantCustomerId = 'abc' request.profile.description = 'name' response = trx.create_customer_profile(request) 所以我需要两件事: 了解这是否是我的设置/环境的问题,以及如何修复它。 或者,了解这是否是 API(Authorize.net)方面的问题以及如何弥补它或告诉他们实际发生了什么 您是否与开发人员仔细检查了 libressl 在其设置中加载了哪些 CA 证书? 链中自签名错误意味着验证操作能够构建信任链,但无法在该链中找到证书颁发机构。 由于证书链检查和验证在其他地方确实有效,所以我首先验证他的设置。 更准确地说,如果我们看一下链条: $ openssl s_client -showcerts -connect apitest.authorize.net:443 CONNECTED(00000003) depth=2 C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 verify return:1 depth=1 C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K verify return:1 depth=0 C = US, ST = California, L = Foster City, O = Authorize.Net, CN = *.authorize.net verify return:1 --- Certificate chain 0 s:C = US, ST = California, L = Foster City, O = Authorize.Net, CN = *.authorize.net i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- 1 s:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- 2 s:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- --- Server certificate subject=C = US, ST = California, L = Foster City, O = Authorize.Net, CN = *.authorize.net issuer=C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Certification Authority - L1K --- No client certificate CA names sent --- SSL handshake has read 4298 bytes and written 641 bytes Verification: OK --- 这告诉我们该链使用 Entrust G2 根证书和 L1k 证书。 此 CA 证书可以从 https://www.entrust.com/resources/certificate-solutions/tools/root-certificate-downloads 下载(以仔细检查)。 我建议与开发人员验证该证书在他的设置中是否正确受信任。 apitest.authorize.net 有通配符证书。 来自文件 x509v3.h 中 openssl-1.1.1h /* Disable wildcard matching for dnsName fields and common name. */ # define X509_CHECK_FLAG_NO_WILDCARDS 0x2 这表明默认情况下禁用通配符匹配。 在 v3_utl.c if (flags & X509_CHECK_FLAG_NO_WILDCARDS) equal = equal_nocase; else equal = equal_wildcard; 这意味着 Openssl 将使用不区分大小写的比较,在这种情况下 apitest.authorize.net 将不匹配 *.authorize.net 事实证明,这实际上是authorize.net 沙箱所期望的。我需要传递一个 verify_ssl 标志并将其设置为 false。 我猜你的服务器不必发送 Entrust 的根证书,它必然是自签名证书。 2 s:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 i:C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2009 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G2 这意味着证书链以自签名证书结尾,该证书不在您的代码正在使用的证书存储中,尽管它可以存在于您计算机上的其他证书存储中。 我认为要点可能是: 是否有代理拦截流量? 您的 ruby 代码、openssl 和其他应用程序使用哪些证书存储或文件。几乎可以肯定他们使用的是不同的。 将根证书添加到正确的证书存储中。 (这里是错误消息中的“自签名证书”。)
尽管没有更改代码,Azure 容器应用程序后端容器上仍出现 FIPS 错误
我在 Azure 容器应用程序上运行了三个容器 - 两个后端容器和一个前端容器。前端容器运行良好,但我遇到了后端容器的问题...
我已按照此处的说明(对名称进行了稍微编辑):https://learn.microsoft.com/en-us/azure/application-gateway/self-signed-certificates 并使用以下代码: openssl ecparam -out
我正在尝试编写C代码来验证证书,包括检查CRL以检查它是否被撤销。 证书链 这是证书链,为了隐私和简洁而进行了编辑: mycert.pem
版本 1.0.2 和 3.2.1 之间的 OpenSSL 证书不兼容
最近,我们已从旧的 1.0.2 版本迁移到 OpenSSL 3.2.1。之前我们使用密钥大小为 2048 位的证书。现在,我们的应用程序无法加载那些旧证书。 S...
故障排除curl:(51)SSL:没有替代证书主题名称与目标主机名匹配
即使我们认为我们拥有有效的证书,但curl仍然不喜欢它。尝试在这里提问,看看是否有任何调试问题的建议。 这是症状 [root@myclient 白名单]#...
.NET 应用程序未在 Linux Docker 容器上使用 OpenSSL 证书存储
我有一个 .NET 8 (8.0.8) Web API,它使用 RestSharp 调用外部 API。 由于出现错误,GET 方法未执行: 无法建立 SSL 连接,请参阅内部异常...
当我在 safari 上写入此网址时,其内容显示正确: https://einvoiceserviceturmobtest.luca.com.tr/InvoiceService/ServiceContract/InvoiceService.svc 但是当我使用 wget https://
我有 pkcs12 密钥库(.p12),其中包含多个私钥条目(3 个条目)我只想从该存储中提取一个密钥并使用该密钥来解密文件(由公钥加密...
我有 pkcs12 密钥库(.p12),其中包含多个私钥条目(3 个条目)我只想从该存储中提取一个密钥并使用该密钥来解密文件(由公钥加密...
我有一个 Node 项目(用 TypeScript 编写),我想添加一个函数来获取 PEM 证书的主题哈希值,我需要它以与 OpenSSL 相同的方式计算哈希值,但不需要你...
不支持 Python 请求 TLS 会话票证(403 响应)
我正在尝试使用 Python 请求向服务器发出请求,它返回 403。该页面使用我的浏览器并使用 urllib 可以正常工作。 标题是相同的。我什至尝试使用订购的...
我已经下载了 OpenSSL 库的稳定版本。我很惊讶最旧的包没有 add_subdirectory(vendor/openssl) 的 CMakeList.txt。 我折磨了 GPT 大约 3 天,但是……
我想比较不同硬件上的 openssl 速度。但即使在同一台机器上,我也对结果感到困惑。 首先,我在基于 N4150 的主板上运行了此命令: openssl 速度 -evp chacha20-
我的密钥库包含 2 个密钥,我想运行 2 个命令,这两个命令将根据 alias/friendName 输出每个相应的密钥。目前,以下命令将两个密钥输出到 TESTKEY.key
我正在尝试使用 Go 编程语言复制 OpenSSL 执行的 RSA 加密。在 OpenSSL 中,我使用以下命令用公钥加密消息: openssl rsautl -加密 -
CA 证书没有 basicConstraints 扩展为 true [已关闭]
我正在遵循有关创建自签名证书的 AWS 指南。 但是在创建 CA 后,我尝试将其上传到 AWS IOT,但收到此错误: 命令: aws iot register-ca-certificate --ca-certific...
使用Openssl构建u-boot时出错(找不到Openssl函数体)
我尝试构建u-boot(git克隆https://source.denx.de/u-boot/u-boot.git) 首先为 Beaglebone 创建 .config - 没问题: 制作 am335x_boneblack_vboot_defconfig 我已经通过脚本构建了 Openssl 电子...
以下对 openssl 的请求挂起 openssl req -key server.key -out server.csr 知道问题出在哪里吗?
我有 DER 格式的公钥。使用 openssl 的 asn1parse 给了我这个: 0:d=0 h1=4 1= 265 缺点:序列 4:d=1 h1=4 1= 256 prim: INTEGER: -4B95.........831 (我删除了大部分) 264:d=1 h1=2 1= ...