mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #290] Make the output of mkcert <name> less alarming and more explanatory #186
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maudnals on GitHub (Sep 8, 2020).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/290
Hey @FiloSottile! As discussed:
Current behaviour
When running
mkcert <name>without prealably runningmkcert -install, warnings are displayed.Example when running
mkcert localhost:Issue with the current behaviour
Warning,... avoid verification errors !!and the red color of the!!may look alarming and make users think that something is wrong and that they have to runmkcert -installfor their certificates to be properly generated.When in fact, running
mkcert <name>successfully creates a self-signed certificate, which is just fine for some use cases.We may want to prevent a developer from running
mkcert -installas a "quick fix" without having the implications in mind.But the warning definitely is useful to developers planning on using a local root CA.
New behaviour: proposal
Output when the user runs
mkcert <name>e.g.mkcert localhost(surely this needs rewording, but something along these lines maybe:):