-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl_easy_setopt(curl, CURLOPT_CAPATH, path) with mbedtls returns CURLE_NOT_BUILT_IN #1877
Comments
If See: https://github.com/curl/curl/blob/master/lib/url.c#L2293 |
This report may be legit, the mbedtls function is for ca path but that is disabled for some reason: Lines 1042 to 1049 in a14f715
Doc says it's supported for PolarSSL but since contributors made mbedTLS code from that then I'd guess it should be supported for mbedTLS too. /cc @dscho |
I usually use ca bundle file with CURLOPT_CAINFO, it's ok for TLS (HTTPS, SMTPS. It's also ok, if i build libcurl with So, i think it's |
I see. It looks as though it's been like that since it was added. Thanks, landed in 64bb7ae. |
But curl uses
mbedtls_x509_crt_parse_path
in mbedtls backend, ifssl_capath
was configured.libcurl: 7.55.1 (13 Aug 2017)
mbedtls: 2.6.0
OS: Ubuntu 16.04
It just works if i define
#define have_curlssl_ca_path 1
in mbedtls.h, but i think, it should be tested somehow.The text was updated successfully, but these errors were encountered: