mirror of
https://github.com/FiloSottile/mkcert.git
synced 2025-10-14 00:41:40 +08:00

Especially for testing I find it much more convenient to just store both the key and certificate in a single file, which works with pretty much all software I've used. Currently, the -cert-file will overwrite the -key-file since it uses ioutil.WriteFile(). This fixes it to *append* if the files are identical. Co-authored-by: Filippo Valsorda <github@filippo.io>
11 KiB
11 KiB