I get Curl :: Err :: SSLCaertBadFile when I try to access the SendGrid API using the newslettre stone.
The gem uses curb to wrap libcurl. I found this article that made me think that I needed to set the ca_path SSLCaertBadFile error heroku curb , and then I found this mutable SSL certificates elsewhere that helped me find the name of this variable in libcurl. curb allows you to set parameters using this interface: https://github.com/taf2/curb/blob/master/lib/curl/easy.rb#L27 . Based on this and the sym2curl method below, I tried each of these configurations:
curl.set(Curl::CURLOPT_CAPATH, "/etc/ssl/certs") curl.set(:capath, "/etc/ssl/certs")
But every time I tried to get into a safe api, I got the same error.
source share