cURL error 60: SSL certificate problem

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by Szabi – CodeRevolution.

Viewing 5 reply threads
  • Author
    Posts
    • #884


      atlpics_admin
      Participant
      Post count: 4

      Windows IIS 10

      Getting the following when I select a run action in rss to post

      [11-Dec-2019 22:23:46 UTC] Error in parsing RSS feed (custom method): cURL error 60: SSL certificate problem: unable to get local issuer certificate for https://atlantasroyalphotography.smugmug.com/hack/feed.mg?Type=nickname&Data=atlantasroyalphotography&format=atom10!

    • #885


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      The ‘SSL certificate problem: unable to get local issuer certificate’ error is a server configuration related issue.
      Please contact your hosting’s support and ask them to fix SSL certificates on your site (tell them about this error): cURL error 60: SSL certificate problem: 
      cURL error 60: SSL certificate problem: unable to get local issuer certificate for https://atlantasroyalphotography.smugmug.com/hack/feed.mg?Type=nickname&Data=atlantasroyalphotography&format=atom10
      If you wish to try to fix this yourself on your server, please check this page where the steps to fix this issue are described: https://stackoverflow.com/questions/29822686/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate
      If you contact your hosting provider for support, please send them the above link.

      Regards, Szabi – CodeRevolution.

    • #886


      atlpics_admin
      Participant
      Post count: 4

      Seen that. It struck me as funny considering I’m running WP in IIS 10 with a certificate authority + domain SSL certificate and having to run another server to solve the issue doesn’t sound like a good answer. If I were having other SSL issues I would consider it but…

      Any other suggestions?

    • #887


      atlpics_admin
      Participant
      Post count: 4

      Still got the same error when placing the .pem file in the PHP directory. Moved it to the root and it seems to be working.

    • #888


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Have you tried the below solution?

       

      • Download and extract for cacert.pem here (a clean file format/data)

      https://curl.haxx.se/docs/caextract.html

      • put it here

      C:\xampp\php\extras\ssl\cacert.pem

      • in your php.ini put this line in this section (“c:\xampp\php\php.ini”):
      ;;;;;;;;;;;;;;;;;;;;
      ; php.ini Options  ;
      ;;;;;;;;;;;;;;;;;;;;
      
      curl.cainfo = "C:\xampp\php\extras\ssl\cacert.pem"
      • restart your webserver/apache
    • #889


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      I am glad that you managed to solve it. 🙂

       

      If you like the plugin, please give it a rating on CodeCanyon, it is really appreciated. 🙂

Viewing 5 reply threads

The topic ‘cURL error 60: SSL certificate problem’ is closed to new replies.