-
Notifications
You must be signed in to change notification settings - Fork 895
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
Cannot find ca certificates on android #1058
Comments
@alexcrichton @sfackler I don't know if this is related with curl or openssl. Do you have some guidance on this? This also affects cargo. |
Cargo and some other crates use openssl-probe to find certs if OpenSSL is linked statically, maybe logic needs to be added there? |
Would a direct fix adding '/data/data/com.termux/files/etc/ssl' (termux path) to A more aggressive approach would be to try all combinations of the paths defined in The error message is a bit complicated. The user or openssl-probe may have defined a invalid |
Android has a somewhat unique trust root setup: sfackler/rust-openssl#610. It unfortunately can't be emulated via just setting the environment variables like openssl-probe does - you need to explicitly build up the trust store programmatically. |
Is this fixed in the latest release? |
This works using termux (because of the openssl-probe update), but I think we need to wait sfackler/rust-openssl#610 for a complete fix. |
I'm closing this issue as outdated as the situation described above is no longer relevant. Please feel free to reopen if this is not the case. Have a nice day :) |
Reported on reddit
If the problem cannot be fixed, at least the error message should indicate that defining
SSL_CERT_FILE
can help.The text was updated successfully, but these errors were encountered: