有人知道 PayPal 沙箱中遇到的错误是什么问题吗?
上次它工作了好几个月,我们更换了服务器,IPN 停止工作。我们不确定是 PayPal 问题还是我们的问题。
在 Web 服务器访问日志中,没有显示 PayPal IPN POST 日志的条目,我们无法找出问题所在。
IPN 传递失败:I/O 错误:RSA premaster secret 错误;嵌套异常是 javax.net.ssl.SSLKeyException: RSA premaster secret error
https://developer.paypal.com/webapps/developer/applications/ipn_simulator
额外信息: 我们在一个 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>
xxxx 是 IP 地址(两个 IP 相同)