Replies: 1 comment
-
|
Good suggestion! A workaround until this feature is added: You can use CAROOT=./certs/ca mkcert -install |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think in some cases it could be useful if mkcert had a flag that would create the Certificate Authority files without trying add it to the system store.
My use case
I have a makefile that creates a CA, generates certificates based on this freshly created CA and then proceeds to build and deploy a microservices application through docker-compose.
I'm calling
mkcert -installfrom a Makefile in a machine where I do not have root privileges.When
mkcert -installis called, the system prompts for sudo password. If one pressesCTRL + Cto send aSIGINT,makecaptures the signal and does not build the application. Instead, the user has to fail the password check three times so that the build process can continue.It would be better is, provided user passes a convenient flag to mkcert, it creates the CA in the usual user directory but does not try to install this CA to the system store.
Below, a sample of the makefile that it illustrates the point.
Beta Was this translation helpful? Give feedback.
All reactions