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

Curl with GNUTLS fails to validate domain name. #2

@hrach

Description

@hrach

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions