I think my CURL is running fine...
Sure, there is a bunch of "Error 60" since I'm testing on my PC (via WAMP).
Therefore, I can't use real certificate. My certificate is self-signed... so I can't get rid of that Error 60.
Code:
Notice: Trying to get property 'tls_version' of non-object in C:\wamp64\www\zc156\extras\curltester.php on line 26
Connection uses
Testing communications to various destinations. This is a simple diagnostic to determine whether your server can connect to common destinations.
For advanced "details" mode, add ?details=on to the URL.
(Another resource you may find useful for testing your server's overall customer-facing SSL configuration: https://www.ssllabs.com/ssltest/index.html )
Connecting to Zen Cart Version Server (http) ...
GOOD: CURL Connection successful.
Connecting to Zen Cart Version Server (https) ...
Error 60: SSL certificate problem: unable to get local issuer certificate
IMPORTANT NOTE: Error 60 or 61 means that this server has an SSL certificate configuration problem. YOU NEED TO ASK YOUR HOSTING COMPANY SERVER ADMIN FOR ASSISTANCE with fixing the server's OpenSSL certificate chain.
This error has nothing to do with Zen Cart. It is a server configuration issue.
(If you are running this test on a localhost/PC/dev/standlone server then you can either ignore this until you put the site on a live production server, or temporarily override things by manually configuring the CURLOPT_CAINFO value with a legitimate CA bundle. If you don't know what that means, just defer your CURL testing until you are on a live production webserver!)
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Zen Cart Support Server (https) ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to USPS (port 80)...
GOOD: CURL Connection successful.
Connecting to USPS Test/Staging/Sandbox Server (port 80)...
GOOD: CURL Connection successful.
Connecting to UPS (port 80)...
GOOD: CURL Connection successful.
GOOD: Socket established
Connecting to UPSXML (onlinetools.ups.com) ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to UPSXML (sandbox) ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to FedEx (port 80)...
GOOD: Socket established
Connecting to Canada Post REST API (SSL) ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal IPN (port 443)...
GOOD: Socket established
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal IPN (port 443) Sandbox ...
GOOD: Socket established
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal Express/Pro Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal Express/Pro Sandbox ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal Payflowpro Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal Payflowpro Pilot/Sandbox Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to PayPal TLSTest Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Cardinal Commerce 3D-Secure Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Square Payments Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to AuthorizeNet Production Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to AuthorizeNet Developer/Sandbox Server ...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to First Data GGe4 server (SSL)...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Payeezy Processing Server...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Payeezy Sandbox Server...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Elavon Server...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Connecting to Elavon Sandbox Server...
Error 60
Testing again with less security...
GOOD: CURL Connection successful. (but without being able to verify certificate chain. Again: this is a server issue, not a Zen Cart issue.)
Testing completed. See results above.
If the check version required actual SSL with actual true CA certificate... Then, this is expected result... and therefore, this is not the bug.
However, this also means that nobody can check Zen Cart versions when testing in local/PC environment!
-PanZC2020
Bookmarks