Peer certificate
phaedrus428
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
May-05-2022
09:07 AM
Not sure if this is the right board, but today I started getting the following warnings from my PayPal IPN scripts (written in PHP):
Warning: fsockopen(): Peer certificate CN=`active-www.paypal.com' did not match expected CN=`ipnpb.paypal.com'
Warning: fsockopen(): Failed to enable crypto
Warning: fsockopen(): unable to connect to tls://ipnpb.paypal.com:443 (Unknown error)
Is this due to a temporary PayPal issue, or is my code outdated? It has been humming along without issue for quite some time, but the lines in question looks like this:
$errstr = "Error";
$errno = "";
$fp = fsockopen ('tls://ipnpb.paypal.com', 443, $errno, $errstr, 30);
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- How do I create or renew my API Certificate? in NVP/SOAP APIs
- IPN Simulator | Sandbox IPN issue in Sandbox Environment
- How to get PayPal API Username, Password and Signature information? in NVP/SOAP APIs
- Why IPN notifications suddenly are failing, when before all was working in PayPal Reporting
- select certificate to authenticate yourself to api.paypal.com in REST APIs