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

autoTrust not working anymore for chrome and firefox on linux #9

Open
dmail opened this issue Jun 12, 2023 · 3 comments
Open

autoTrust not working anymore for chrome and firefox on linux #9

dmail opened this issue Jun 12, 2023 · 3 comments

Comments

@dmail
Copy link
Member

dmail commented Jun 12, 2023

Looks like chrome and firefox have updated how they store certificates on Linux.

Maybe there is just a new url to put there:

browserNSSDBDirectoryUrls: [
new URL(".pki/nssdb", assertAndNormalizeDirectoryUrl(process.env.HOME)),
new URL(
"snap/chromium/current/.pki/nssdb",
assertAndNormalizeDirectoryUrl(process.env.HOME),
), // Snapcraft
"file:///etc/pki/nssdb", // CentOS 7
],

@dmail
Copy link
Member Author

dmail commented Jun 13, 2023

Since chrome 105, chrome uses his own certificate store on windows and Linux. Still relying on system for macos due to their policy.
For windows and Linux, until there is a programmatic solution found, trusting cert must be done manually.

@dmail
Copy link
Member Author

dmail commented Jun 20, 2023

The manual process is easy and described for instance here:
https://doc.webradiocontrol.tech/user-guide/installing-tls-certificate/chrome-linux/

But is there still a programmatic way to achieve that? That would be great

@dmail
Copy link
Member Author

dmail commented Jun 20, 2023

Others tools like https://github.com/davewasmer/devcert and https://github.com/FiloSottile/mkcert have the same issue.

See FiloSottile/mkcert#488 and davewasmer/devcert#93 for instance

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

No branches or pull requests

1 participant