[GH-ISSUE #655] rootCA.pem created with world read permissions #350

Closed
opened 2026-02-25 22:33:09 +03:00 by kerem · 1 comment
Owner

Originally created by @sebbASF on GitHub (Jan 19, 2026).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/655

Environment

  • Operating system (including version): macOs Sonoma
  • mkcert version (from mkcert -version): 1.4.4
  • Server (where the certificate is loaded): N/A
  • Client (e.g. browser, CLI tool, or script): N/A

What you did

mkcert --install
Did not give valid sudo pasword

What went wrong

The CAROOT directory contains two files:
-r-------- ... rootCA-key.pem
-rw-r--r-- ... rootCA.pem

Surely both files should be read-only to owner only?

Originally created by @sebbASF on GitHub (Jan 19, 2026). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/655 ## Environment * Operating system (including version): macOs Sonoma * mkcert version (from `mkcert -version`): 1.4.4 * Server (where the certificate is loaded): N/A * Client (e.g. browser, CLI tool, or script): N/A ## What you did mkcert --install Did not give valid sudo pasword ## What went wrong The CAROOT directory contains two files: -r-------- ... rootCA-key.pem -rw-r--r-- ... rootCA.pem Surely both files should be read-only to owner only?
kerem closed this issue 2026-02-25 22:33:09 +03:00
Author
Owner

@sebbASF commented on GitHub (Jan 19, 2026):

Sorry, please ignore

<!-- gh-comment-id:3770464715 --> @sebbASF commented on GitHub (Jan 19, 2026): Sorry, please ignore
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#350
No description provided.