mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #304] mkcert silently overwrites CSR file #193
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#193
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 @rajiv on GitHub (Oct 27, 2020).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/304
running mkcert 1.4.2.
when using the
-csrflag, mkcert silently replaces the CSR filewww.example.com.pemwith a file of the same namewww.example.com.pemthat contains the signed certificate. instead of this destructive behaviour, mkcert could exit with an error instead of overwriting.www.example.com.pemmkcert -csr www.example.com.pemwww.example.com.pemis replaced with the signed cert, and the CSR is destroyed@FiloSottile commented on GitHub (Oct 28, 2020):
Ah, yeah we should not do that. I'll just add an error for trying to write to an existing file.