Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import ublue.local root certificate into browser #16

Open
tepene opened this issue May 6, 2023 · 2 comments
Open

Import ublue.local root certificate into browser #16

tepene opened this issue May 6, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tepene
Copy link
Collaborator

tepene commented May 6, 2023

As described in #12 , it would be nice if the ublue.local root certificate could be imported automatically into the system default browser. Might be cumbersome and complex to implement since it should cover all kinds of browsers, installed in all kids of ways (flatpak, distrobox etc.)

If anyone knows how to do this with ansible or bash or something else, let me know or PR it. 😉

@tepene tepene added enhancement New feature or request help wanted Extra attention is needed labels May 6, 2023
@acheron1502
Copy link

Did a bit of digging on this...

  • You can add custom certs to Fedora's system CA Trust, but browsers may not use that directly
  • Chrome and derivatives seem to use: $HOME/.pki/cert9.db
  • Firefox seems to use same file in different location: $HOME/.mozilla/firefox/*.default-release/cert9.db

Found this blog link that contains a bash script to add a custom cert to all of these databases under the ROOT directory.

You may need to tweak the find commands a bit depending on if you are going to add any browsers to the system layer or just the user layer.

References

@tepene
Copy link
Collaborator Author

tepene commented Feb 19, 2024

thanks @acheron1502 for the input and all the references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants