Skip to main content

php cannot request my SSL websites

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! I can't help with the PHP side of things, but does the SSL work outside of your script? Can you use "curl" outside of PHP or just visit the sites in a browser and they work as expected?
    0
  • 0884094
    Thanks, cPRex!! I can confirm that just running curl on command line repros the problem. curl Google (works ok) curl Limited-Access fails with: curl: (60) Peer's Certificate issuer is not recognized. More details here: curl - SSL CA Certificates I can see from this link ( RHEL/CentOS 7 Fix for Let"s Encrypt Change ) that there's a known issue with Centos v7 + OpenSSL 1.0.2k + LetsEncrypt. The link says they fixed it on Sept 24, which matches the timestamp of my ca-bundle in /etc/ssl/certs, but for me the problem started around that time, rather than was fixed. I guess since it is all so new & the powers-that-be are pushing fixes out, I'll just wait a little while. I expect that this command will fix it once they finesse the ca-bundle: sudo yum reinstall ca-certificates
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details - that does sound like it's the root of the issue. If you need us to take a deeper look on our side, feel free to submit a ticket!
    0

Please sign in to leave a comment.