2013-04-13 97 views
4

人知道什么是关于在贝宝沙箱中遇到的错误的问题?SSL错误/ RSA预置密码错误

这是工作的罚款月最后一次,我们改变了我们的服务器和IPN停止工作。我们不确定是PayPal问题还是我们的问题。

在Web服务器的访问日志就没有了显示的贝宝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/ - 贝宝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是相同的)

+0

你知道客户端使用的Java版本? – Bruno

+0

对不起,我不知道。 – xDragonZ

+1

我不认为它与你的问题有关,但如果它至少没有使用Java 7,它可能有问题连接到你的服务器。您正在使用您的服务器上SNI(二级证书,同一个IP地址/端口),而这仅仅因为支持Java 7中 – Bruno

回答

1

你可能要设置环境变量JAVA_EXT_DIRS其价值将是路径[..]的jre \ lib中\分机

SunTlsRsaPremasterSecret KeyGenerator not available接受的答案可能有一定的帮助,可以在找到

其他相关的职位网络:

http://forums.pentaho.com/showthread.php?78991-plm-in-4-x-javax-net-ssl-SSLKeyException-RSA-premaster-secret-error

https://issues.apache.org/jira/browse/SMX4-537

+0

的Java错误是来自PayPal – xDragonZ

+0

你能打开与PayPal客户服务的票证/问题? –

2

我遇到了同样的问题,它好像在IPN模拟器无法处理HTTPS p roperly。 (或者它可能在1024位以上的RSA密钥有问题?)我无法使用模拟器,但是如果我使用PayPal业务/消费者帐户测试所有内容(在沙箱中)并假冒购买,我确实会收到发送的IPN消息给我的处理程序。