Jump to content

Search the Community

Showing results for tags 'php curl ssl cert'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi, I'm using CURL in PHP to communicate to an ssl secured remote server from Johnny. The cert is located on the server and referenced by it's full path for CURL: curl_setopt($c, CURLOPT_CAINFO, CERT_PATH); curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 1); I got the PEM file a few months back from here: http://curl.haxx.se/docs/caextract.html The error I get when trying to use CURL: SSL certificate problem: unable to get local issuer certificate The CURL requests worked on different hosters with this setup. The full path to the cert is correct because PHP can load the file. Am I missing something? Edit: Again, after just testing around it starts working when the option to use the custom cert is simply omitted. So the fix is to remove 'curl_setopt($c, CURLOPT_CAINFO, CERT_PATH);' so CURL uses the default setting. Issue solved.
×
×
  • Create New...