GithubHelp home page GithubHelp logo

Comments (6)

vi avatar vi commented on June 25, 2024

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.

alexcrichton avatar alexcrichton commented on June 25, 2024

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.

vi avatar vi commented on June 25, 2024

For example, /system/etc/security/cacerts is missing. Although it still fails to work when I SSL_CERT_DIR it.

from openssl-probe.

alexcrichton avatar alexcrichton commented on June 25, 2024

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.

timvisee avatar timvisee commented on June 25, 2024

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.

vi avatar vi commented on June 25, 2024

Maybe there some incomplete set of *.0 files there...

from openssl-probe.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.