Peer certificate

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=`' did not match expected CN=`'

Warning: fsockopen(): Failed to enable crypto

Warning: fsockopen(): unable to connect to tls:// (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://', 443, $errno, $errstr, 30);

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.