Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-13 Thread Daniel Stenberg via curl-library
On Mon, 13 Jan 2020, shiftag via curl-library wrote: So even when using standard path a static build of libcurl and openssl does not seem to work. Let me just add that this isn't typical for static builds. I frequently build with static OpenSSL and I've never seen this problem. If I were

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-13 Thread shiftag via curl-library
On 1/13/20 7:28 AM, Ray Satiro via curl-library wrote: > On 1/12/2020 10:49 AM, shiftag via curl-library wrote: >> On 1/12/20 1:32 AM, Daniel Stenberg wrote: >>> On Sat, 11 Jan 2020, shiftag via curl-library wrote: >>> So it appears the issue is not related to the compilation. The normal

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-12 Thread Ray Satiro via curl-library
On 1/12/2020 10:49 AM, shiftag via curl-library wrote: On 1/12/20 1:32 AM, Daniel Stenberg wrote: On Sat, 11 Jan 2020, shiftag via curl-library wrote: So it appears the issue is not related to the compilation. The normal behavior of libcurl is checking /etc/ssl/certs ,so I rebuild the content

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-12 Thread shiftag via curl-library
On 1/13/20 1:18 AM, Jeffrey Walton wrote: > On Sun, Jan 12, 2020 at 10:54 AM shiftag via curl-library > wrote: >> ... >> >> That's what I did, I built libcurl with --with-ca-bundle and >> --with-ca-path but I unfortunately did a wrong copy/paste for curl one. >> I add the options that way: >> >>

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-12 Thread Jeffrey Walton via curl-library
On Sun, Jan 12, 2020 at 10:54 AM shiftag via curl-library wrote: > ... > > That's what I did, I built libcurl with --with-ca-bundle and > --with-ca-path but I unfortunately did a wrong copy/paste for curl one. > I add the options that way: > >

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-12 Thread shiftag via curl-library
On 1/12/20 1:32 AM, Daniel Stenberg wrote: > On Sat, 11 Jan 2020, shiftag via curl-library wrote: > >> So it appears the issue is not related to the compilation. The normal >> behavior of libcurl is checking /etc/ssl/certs >> ,so I rebuild the content >> of that directory with .crt files and the

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-11 Thread Daniel Stenberg via curl-library
On Sat, 11 Jan 2020, shiftag via curl-library wrote: So it appears the issue is not related to the compilation. The normal behavior of libcurl is checking /etc/ssl/certs ,so I rebuild the content of that directory with .crt files and the symbolink link to .pem with the symbolink link to the

Re: CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-11 Thread shiftag via curl-library
On 1/10/20 10:22 PM, shiftag via curl-library wrote: > Hello, > > I'm using static libcurl and openssl for my project. When I tried to > access an HTTPS URL I got the following error: CURLE_SSL_CACERT_BADFILE > > I think this issue came from static openssl as it works fine when I > was using the

CURLE_SSL_CACERT_BADFILE error for HTTPS URL

2020-01-10 Thread shiftag via curl-library
Hello, I'm using static libcurl and openssl for my project. When I tried to access an HTTPS URL I got the following error: CURLE_SSL_CACERT_BADFILE I think this issue came from static openssl as it works fine when I was using the one on my system. I built the static libraries that way: -