Skip to content
This repository was archived by the owner on Oct 12, 2021. It is now read-only.

SSL certificate validation on non-Windows OS #5

Draft
wants to merge 5 commits into
base: Public
Choose a base branch
from
Draft

SSL certificate validation on non-Windows OS #5

wants to merge 5 commits into from

Conversation

tuxuser
Copy link
Contributor

@tuxuser tuxuser commented Apr 26, 2020

Non-Windows operating systems do not have the required ROOT CA to verify the SSL connection.

Here is a workaround that simply accepts any certificate.

How could we solve this in a cleaner/better/more secure way?

Obviously, the official way would be to import the needed ROOT CA in the system's keystore .. but I would prefer to do it in a userspace way.

  • Fetch a list of valid certificate fingerprints and add them to an array of trusted fingerprints?
    • Drawback: The subdomain certs only have a short validity, so it would need a lot of updates / maintainance
  • Any other ideas?

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

Successfully merging this pull request may close these issues.

1 participant