Skip to content

Cannot figure how to trust user-provided trusted certificates #195

Description

@bgstack15

This application allows you to manually approve a certificate, but it does not check the user-installed trusted root certificates.

I tried a custom build with the same type of code as demonstrated in another app: https://github.com/home-assistant/android/pull/194/files, but it does not fix the problem. I even tried installing to my trusted root certificate list the exact leaf cert of my CUPS server, and it still failed.

I couldn't make sense of app/src/main/java/io/github/benoitduffez/cupsprint/ssl/AdditionalKeyManager.kt and how to benefit from the knowledge on stackoverflow.
Can anybody else find how to do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions