gpt4 book ai didi

apache - SSL Error/RSA premaster secret 错误

转载 作者:太空宇宙 更新时间:2023-11-03 12:48:57 24 4
gpt4 key购买 nike

有人知道关于在 PayPal 沙箱中遇到的错误的问题是什么吗?

上次它运行良好几个月,我们更换了服务器,IPN 停止工作。我们不确定是 PayPal 问题还是我们的问题。

在 Web 服务器访问日志中,没有显示 PayPal IPN POST 日志的条目,我们无法找出问题所在。

IPN Delivery Failed:I/O error: RSA premaster secret error; nested exception is javax.net.ssl.SSLKeyException: RSA premaster secret error

https://developer.paypal.com/webapps/developer/applications/ipn_simulator

enter image description here


额外信息:我们在一个 IP 中使用两个不同的子域和两个 SSL 证书。

示例:

https://www.example.com/ - 对于主要网站(SSL 证书 A)

https://ipn.example.com/ - 对于 PayPal IPN(SSL 证书 B)

<VirtualHost x.x.x.x:443>
ServerName ipn.example.com
DocumentRoot "/path/to/ipn.example"

SSLEngine on
SSLCertificateFile "/path/to/ipn_example_com.crt"
SSLCertificateKeyFile "/path/to/ipn_example_com.key"
SSLCertificateChainFile "/path/to/CA1.pem"
</VirtualHost>

<VirtualHost x.x.x.x:443>
ServerName www.example.com
ServerAlias example.com
DocumentRoot "/path/to/www.example"

SSLEngine on
SSLCertificateFile "/path/to/www_example_com.crt"
SSLCertificateKeyFile "/path/to/www_example_com.key"
SSLCertificateChainFile "/path/to/CA2.pem"
</VirtualHost>

x.x.x.x是一个IP地址(两个IP是一样的)

最佳答案

我遇到了同样的问题,似乎 IPN 模拟器无法正确处理 https。 (或者超过 1024 位的 RSA key 可能有问题?)我无法使用模拟器,但如果我使用 Paypal 企业/消费者帐户测试所有内容(在沙箱中)并伪造购买,我确实会收到 IPN 消息给我的处理程序。

关于apache - SSL Error/RSA premaster secret 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15985625/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com