FiloSottile / mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.
https://mkcert.dev
BSD 3-Clause "New" or "Revised" License
48.79k stars 2.52k forks source link

Root CA not added to certlm.msc(Local Machine Cert), just added to certmgr.msc(Current User Cert) #550

Open verygoodlee opened 1 year ago

verygoodlee commented 1 year ago

When I use it in Windows Services, the certificate becomes invalid, and I found the reason, Windows Services run as SYSTEM not current user, use certmgr.msc and certlm.msc to compare differences 屏幕截图 2023-08-22 235206 then I copy the mkcert Root CA from certmgr.msc to certlm.msc,problem solved.

Can mkcert -install add Root CA to both of them?Administrator privileges may be required.

pamidur commented 10 months ago

Same issue here, not on all machines though