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
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.
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
andcertlm.msc
to compare differences then I copy the mkcert Root CA fromcertmgr.msc
tocertlm.msc
,problem solved.Can
mkcert -install
add Root CA to both of them?Administrator privileges may be required.