liuweiGL/vite-plugin-mkcert

DOCS - Please update documentation [ path, cert name, sudo ]

n8sabes opened this issue · 3 comments

Very nice work on this -- thank you!

SUGGESTIONS

  1. It is unclear where in the file system the cert files are created (using the default configuration). Please add a reference in the documentation to ~/.vite-plugin-mkcert/certs.

  2. It is unclear the name of the cert added to the System Keychain. Please add reference in the documentation to mkcert USER@HOST.lan so it can be found and manually removed.

  3. Advise the user in the documentation their sudo password is required to install the certs. Explain why.

These are merely suggestions as giving an unknown plugin sudo control is very concerning and would build trust.

Thanks for your advice, 1/2 has already been explained in document and the sudo privilege is required by mkcert

@liuweiGL, thank you.

I thought I searched the docs, but didn’t see the certPath or cert name in the keychain, so I spent a few minutes searching directores so I could copy the cert/key to another non-vite backend api server that is proxied on a route — they both need the same cert/key.

Just thought it would be of value to others users whom may be looking for the certs.

I would document the sudo stuff here. Yes, it's in mkcert, but I spent way too long trying to figure out why Kit was asking me to use sudo. Additionally, it's still not clear what's going on.