Peer certificate

phaedrus428
New Community Member

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);

Login to Me Too
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.