Results 1 to 10 of 23

Threaded View

  1. #19
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    101
    Plugin Contributions
    0

    Default Re: Comm results: 60 SSL certificate problem: unable to get local issuer certificate

    Quote Originally Posted by lhungil View Post
    Code:
    curl_setopt($ch, CURLOPT_CAINFO, DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/cacert.pem'); // this is a temporary workaround for this hosting company. Remove this line once the hosting provider has fixed the configuration of PHP / cURL on their server!
    You will probably need to specify the entire path to the CA Certificate bundle. So either hard coded with the full path for your specific server or something like the above. Adjust as necessary for where you saved the CA Certificate bundle.
    Okay, after much experimenting with getting the path correct, I finally got out of the error message for "Comm results: 77 error setting certificate verify locations:" in the debug emails. This line of text was always followed by a path that was clearly a mistake (repeating folder names twice, etc.).

    For example:

    Comm results: 77 error setting certificate verify locations:
    CAfile: /services17/webpages/util/h/n/hnorman.site.aplus.net/public/store/zen-cart/includes/modules//includes/modules/payment/cacert.pem
    CApath: none


    The line of code that I changed is now:

    curl_setopt($ch, CURLOPT_CAINFO, DIR_FS_CATALOG . DIR_WS_MODULES . '/payment/cacert.pem'); // this is a temporary workaround for this hosting company. Normally this line should be removed!

    Anything more in the path shown above and I got the debug report with the error 77 message and for "CAfile:" a path showing double folder names (for example: /store/zen-cart/store/zen-cart/includes...).

    With the above code, I am now getting this error message:

    Comm results: 60 SSL certificate problem: unable to get local issuer certificate
    Response Code: .
    Response Text:

    Sending to Authorizenet: Array
    (
    [x_login] => *******
    [x_tran_key] => *******
    [x_relay_response] => FALSE
    [x_delim_data] => TRUE
    [x_delim_char] => |
    etc...etc...etc...

    Results Received back from Authorizenet: Array
    (
    [0] => Response from gateway
    [1] =>
    [Expected-MD5-Hash] => 9E54A1C80C4D4BCF5B65D4FC5D3D26E6
    [HashMatchStatus] => FAIL
    )


    CURL communication info: Array
    (
    [url] => https://secure.authorize.net/gateway/transact.dll
    [content_type] =>
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.419434
    [namelookup_time] => 0.036218
    [connect_time] => 0.154293
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => -1
    [upload_content_length] => -1
    [starttransfer_time] => 0
    [redirect_time] => 0
    [certinfo] => Array
    (
    )

    [redirect_url] =>
    )


    RAW data received:


    Any clues in this that points me to a next step?

    Thanks for your help with this.
    Last edited by Dianne; 24 Jan 2015 at 08:29 AM. Reason: additional information

 

 

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. (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
  4. v153 Windows server: Curl error (60): SSL Certificate problem: Unable to get local issuer
    By Nettric in forum Installing on a Windows Server
    Replies: 4
    Last Post: 13 Jun 2015, 03:23 PM

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