curl error 77 ((Problem with the SSL CA cert (path? access rights?))

  c++, curl, libcurl, linux, ubuntu

Getting server cert validation error for my binary on ubuntu 18 only. It works on Centos and RHEL. I have added certs in all the correct paths. the same binary works on centos and rhel which is weird. I created a test app and gave it same permissions as my failing binary and it worked.

-rwxr-xr-x 1 root root 3164400 Apr 15 17:37 test
total 3808
-rwxr-xr-x 1 root root 3755200 Apr 15 15:08 my-binary-x84_64

Source: Windows Questions C++

LEAVE A COMMENT