PHP Classes

SSL Certificate Problem

Recommend this page to a friend!

      Very Simple PayPal Bridge  >  All threads  >  SSL Certificate Problem  >  (Un) Subscribe thread alerts  
Subject:SSL Certificate Problem
Summary:Not working
Messages:2
Author:Eugene Kelly
Date:2012-07-19 06:21:04
Update:2012-07-19 06:32:58
 

  1. SSL Certificate Problem   Reply   Report abuse  
Picture of Eugene Kelly Eugene Kelly - 2012-07-19 06:21:04
I have installed Godaddy SSL cert on my Rackspace cloud site.

I have verified that the installation is working and https:// works properly on my domain.

I have copied over my .crt file into a folder and am pointing to it within the config.php file.

When I run demo.php I get the following error:

Error Message: cURL failed: 'SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed'

----------

What am I doing wrong?



  2. Re: SSL Certificate Problem   Reply   Report abuse  
Picture of Eugene Kelly Eugene Kelly - 2012-07-19 06:32:58 - In reply to message 1 from Eugene Kelly
I have a solution.

Go to:
curl.haxx.se/docs/caextract.html

Download the file 'cacert.pem' and install that somewhere outside of webroot and point to it in the config.php file.

Class appears to be working as expected so kudos to the author.


Thanks,
Gene