w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Getting "error reading X.509 key or certificate file" by using curb, while curl uses the same certificate w/o errors

In my vagrant box I got installed two libcurl packages:

  • libcurl4-openssl-dev
  • libcurl4-gnutls-dev

from which the second one was used for compiling curb gem native extension. I guess it was used due to it was installed after the libcurl4-openssl-dev package.

After I removed libcurl4-gnutls-dev from packages installation list and rebuilt vagrant box, curb had accepted the certificate.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.