Skip to content
Discussion options

You must be logged in to vote

It is true — there are risks! It has a similar risk profile to making a spare key for your house. As long as you keep that key in your pocket and don’t hand it out, it only opens your front door. But if someone else were to get hold of it, they could use it in ways you didn’t intend.

In this case, the “key” is the root certificate. It’s generated locally and never sent anywhere, but by design the browser needs to “trust” it in order to talk to https://localhost. That’s just how HTTPS works — browsers won’t allow encrypted traffic unless they trust a certificate, and the only way to make that happen on localhost is to generate and trust your own root.

If you’d rather not take that step, yo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paulgessinger
Comment options

Answer selected by coddingtonbear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants