Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Sep 2013
    Location
    MN
    Posts
    9
    Plugin Contributions
    0

    Default Windows server: Curl error (60): SSL Certificate problem: Unable to get local issuer

    Upgraded my ZC 1.5.1 to 1.5.3 yesterday and ran into one small issue. Whether it's the way ZC code now handles SSL requests, how PHP is handling the requests in the newer versions, new PCI requirements, or whatever, during my test upgrade, I was given a warning about CURL/SSL having an issue during the prerequisite check. The error I received was the following:

    Code:
    "Curl (60) SSL Certificate Problem: Unable to get local issuer certificate"
    Curl/SSL modules have been enabled in PHP since I installed 1.5.1 a couple years ago so this warning befuddled me.

    The fix was to do the following:

    1) Download "cacert.pem" from here:
    http://curl.haxx.se/docs/caextract.html (copy and paste into a text file and save as cacert.pem)
    2) Save the cacert.pem file you created anywhere on your system.
    Since we'll be modifying php.ini and telling PHP where to look for this file, and I'm using a Windows server, I simply saved cacert.pem in "C:\php\extras\ssl"
    3) Open your php.ini file and change the following:

    Code:
    Change:
    ; curl.cainfo = 
    
    Change To:
    curl.cainfo = "C:\PHP\Extras\SSL\cacert.pem"  (or wherever you saved your cacert.pem file)
    4) Restart your server
    5) Run the curltester.php file in a browser by going to:
    http://www.yoursite.com/extras/curltester.php (should all read "Good" see attached image)

    I just wanted to save anyone any headaches if you run into this error during an initial setup or upgrade.

    Server Info:

    Windows Server 2008 R2 x64 (fully patched)
    Zen Cart 1.5.3
    PHP 5.5.12
    MySQL 5.6.19
    Attached Images Attached Images  
    Last edited by Nettric; 9 Jul 2014 at 03:26 PM.

 

 

Similar Threads

  1. v154 (60) SSL certificate problem: unable to get local issuer certificate
    By jokkah in forum PayPal Express Checkout support
    Replies: 34
    Last Post: 23 Jan 2017, 11:01 AM
  2. Authorize.net AIM Error 60 SSL certificate problem: unable to get local issuer
    By Jac Web in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 3 Jun 2016, 03:31 AM
  3. Windows 2012 server - 60 => SSL certificate problem: self signed certificate in chain
    By QuickBooksDev in forum Installing on a Windows Server
    Replies: 7
    Last Post: 21 Sep 2015, 03:43 PM
  4. (60) SSL certificate problem: unable to get local issuer certificate
    By advancing in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 6 Jul 2015, 02:10 PM
  5. Replies: 22
    Last Post: 27 Jan 2015, 03:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR