Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Curl with GNUTLS fails to validate domain name. #2

Open
hrach opened this issue Jan 4, 2016 · 1 comment
Open

Curl with GNUTLS fails to validate domain name. #2

hrach opened this issue Jan 4, 2016 · 1 comment

Comments

@hrach
Copy link

hrach commented Jan 4, 2016

This is more info bug than a bug report. If php is compiled with curl based on gnu tls (not open ssl), curl is unable to validate domain name properly. I'm not 100% sure it's the reason, but it's the only difference between many machines and the problematic one.

The error is cURL error 60: server certificate verification failed. CAfile: /home/ubuntu/my-project/vendor/kdyby/curl-ca-bundle/src/ca-bundle.crt CRLfile: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

This buggy version of php/curl is present on Circle CI. I'm just thinking, isn't possible that such version of ssl lib in curl isn't able to read ca-bundler properly?

@fprochazka
Copy link
Member

To be honest, I have no idea. As you can see in the readme, I'm using the extractor from http://curl.haxx.se/docs/caextract.html ... so it would make sense, that the problem is with the gnu tls.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants