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

Generate cert using mkcert so that browsers trust the certificate #239

Open
mfenner opened this issue Oct 21, 2022 · 1 comment
Open

Generate cert using mkcert so that browsers trust the certificate #239

mfenner opened this issue Oct 21, 2022 · 1 comment

Comments

@mfenner
Copy link

mfenner commented Oct 21, 2022

The current approach is generating a certifcate using openssl that is not fully trusted by browsers and has to be used in a "hacky" way. Let's Encrypt doesn't work for local development (localhost, etc).

Describe the solution you'd like

We should generate a local certificate using mkcert, which would be trusted by the browser. This certificate has to be generated fresh for each local dev envelopment.

Describe alternatives you've considered

Using traefik proxy as reverse proxy for SSL termination in local development. It comes with a certificate that sort of works (again "hacky").

@ntarocco
Copy link
Contributor

ntarocco commented Oct 21, 2022

Personally, this is a nice to have, given that it might cause more troubles than solve them. The self-signed certificate warning in the browser is shown only the first time.
Possible workarounds:

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

2 participants