liuweiGL / vite-plugin-mkcert

Provide certificates for vite's https dev service.
https://www.npmjs.com/package/vite-plugin-mkcert
MIT License
541 stars 37 forks source link

Firefox warns of not dangerous soruce #84

Closed AdrKacz closed 4 months ago

AdrKacz commented 4 months ago

Describe the bug

In Firefox, you need to manually accept to go in the website, despite having the certificate generate. The issue being "This website does not supply ownership information.".

I don't know if I will submit a PR, I'm happy to help though.

Reproduction

Simple use mkcert with any Vite project, configured on port 443, then open in Firefox.

System Info

Screenshot 2024-02-27 at 14 32 55

AdrKacz commented 4 months ago

Issue fixed when using first

mkcert -install

(I don't know why, seems the latest command check for nss which configured trusted domain in Firefox)