Comments (6)
Is it a good idea to download and cache some cacert.pem if normal probing fails?
For security some fingerprint may be shown to user.
from openssl-probe.
Android isn't necessarily specifically supported moreso than other platforms, it's mostly that if the certs are present on android they should be found and if they're not present no action is taken. If paths to search are missing though they can definitely be added!
from openssl-probe.
For example, /system/etc/security/cacerts
is missing. Although it still fails to work when I SSL_CERT_DIR
it.
from openssl-probe.
The answer may be no then? This is largely just designed for Cargo to work on tier 1 platforms, but if it needs patches for others they're most welcome!
from openssl-probe.
I'm not too familiar with what directory or certificate store file must be found. But, according to this StackOverflow post Android uses a /system/etc/security/cacerts.bks
file, which is a Java-specific file.
Therefore I believe more steps are required than just adding its certificate file/directory to the file probing logic would be required on Android. Or would it simply work by setting /system/etc/security
as SSL_CERT_DIR
with the *.0
files available in there? Sadly I'm not able to test this out at this moment.
from openssl-probe.
Maybe there some incomplete set of *.0
files there...
from openssl-probe.
Related Issues (11)
- openssl-probe is triggering /boot automount on Linux
- openssl-probe should be a no-op when using system OpenSSL
- Support macports
- Breaking change in 0.1.3, type signature of openssl_probe::init_ssl_cert_env_vars() now returns bool HOT 7
- segfault in openssl_probe call from native-tls on recent alpine HOT 2
- Freebsd certs not found
- Support for Windows HOT 1
- use /etc/pki/ca-trust/source/anchors as cert_dir on modern RHEL? HOT 1
- Use dynamic probing HOT 1
- Add function to check for success at runtime HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl-probe.