Skip to main content

curl not working over ssl - loopback error

Comments

7 comments

  • howdoi
    also, real cron through cpanel works for backups and other task, so not sure what exactly causes this issue but it seems pretty prevalent throughout the web without much clarity of the root issue. Hopefully, we can change that with this thread.
    0
  • massafiri
    Have you checked EasyApache to make sure you have SSH cURL enabled?
    0
  • howdoi
    Yes. SSHCURL has been configured in Easyapache3 and recompliled. I'm running cloudlinux on a VPS.
    0
  • howdoi
    additionally, the error response from several plugins is along the lines of this: Error #9038: Loopback test error: `SSL certificate problem: self signed certificate`. URL: `
    0
  • cPanelMichael
    Hello :) Is the cron job associated with a specific application, or are you testing this with your own custom PHP scripts? The reason I ask is because I've seen this issue resolved in the past by users updating specific WordPress plugins. Thank you.
    0
  • howdoi
    following up. I think I resolved this issue. Not sure how exactly, but here's my assumption. Originally the site was not routing properly, which may have been an issue with cloudlinux and cagefs not being properly set up in the beginning. During this time, to get site to route properly, I had to add site url to host.conf. After getting CL properly tweaked, it appears that virtualhost settings took hold and are being properly configured (at a basic level) at the time of account creation in whm. Once this occurred, the previous hack/repair of using site urls in host config file must have created a conflict and caused routing of curl to use servers self-signed ssl instead of specific sites registered ssl. Again, this is my assumption. I made quite a few attempts to fix and this is the only one within proximity to the time that the issue showed resolution. @cPanelMichael If you know my above assumption to be incorrect, then please advise as it would be nice to have certainty on what exactly resolved the issue. Kind Regards
    0
  • cPanelMichael
    Again, this is my assumption. I made quite a few attempts to fix and this is the only one within proximity to the time that the issue showed resolution. @cPanelMichael If you know my above assumption to be incorrect, then please advise as it would be nice to have certainty on what exactly resolved the issue.

    I'm not sure what specific changes you made, and to which particular hosts file, however your explanation makes the most sense as to why it was not detecting the correct SSL certificate. Thank you.
    0

Please sign in to leave a comment.