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
- Webhooks major security flaw in REST APIs
- PayPal Smart Button Redirect Option in PayPal Payments Standard
- Where to instal PayPal SSL server certificates in wordpress. in NVP/SOAP APIs
- Where to install NVP/SOAP Certificate in wordpress. in NVP/SOAP APIs
- "A recent payment to you didn't complete" email from paypal in REST APIs