Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Android keystore abstraction #34

Open
djarek opened this issue Mar 4, 2019 · 2 comments
Open

Android keystore abstraction #34

djarek opened this issue Mar 4, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@djarek
Copy link
Owner

djarek commented Mar 4, 2019

Use the native keystore when compiled on Android.

@djarek djarek added the enhancement New feature or request label Mar 4, 2019
@fynv
Copy link

fynv commented Oct 1, 2022

Does it mean that it doens't work on Android yet?

I'm trying to use "certify" with "beast" by calling "enable_native_https_server_verification" and having no luck to get through.

@djarek
Copy link
Owner Author

djarek commented Oct 6, 2022

That's correct, certify doesn't support the system cert store on Android. Unfortunately, on Android it's necessary to reach into JVM to access it (there are no official stable C or C++ APIs), which was quite ugly to integrate with ASIO.

As a workaround you can just use a copy of a root certificate store published by Mozilla and bundle it with your app.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants