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);
... View more