anyone know what is the problem regarding the error that encountered in the PayPal sandbox?
It was working fine for months last time and we changed our server and IPN stopped working. We are not sure is PayPal issue or our issue.
In the web server access log there's no entry of the PayPal IPN POST log shown up and we can't figure out what is the problem.
IPN Delivery Failed:I/O error: RSA premaster secret error; nested exception is javax.net.ssl.SSLKeyException: RSA premaster secret error
Extra info :
We are using two different sub domain with two SSL certificate in a single IP.
https://www.example.com/ - For main website (SSL cert A)
https://ipn.example.com/ - For PayPal IPN (SSL cert B)
x.x.x.x is an IP address (Both IP is the same)
I have run into the same problem and it seems as if the IPN Simulator is unable to handle https properly. (or perhaps it has trouble with RSA keys over 1024 bits?) I am unable to use the simulator, but if I test everything (in the sandbox) using a Paypal business / consumer accounts and fake a purchase, I do get IPN messages sent to my handler.
You may want to set the environment variable JAVA_EXT_DIRS which value would be the path to [..]jre\lib\ext
The accepted answer of SunTlsRsaPremasterSecret KeyGenerator not available might be of some help
Other related posts which can be found on the web: