FiloSottile / FiloSottile/mkcert
Certificate is generated with a wrong DateTime
- Dominant language
- Go
- Stars
- 59.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
* Operating system (including version): Windows 11 Pro 22H2
* mkcert version (from `mkcert -version`): 1.4.1
* Server (where the certificate is loaded): local
* Client (e.g. browser, CLI tool, or script): browser/cli
* Date, time and timezone are configured to set automatically
## What you did
1. `.\mkcert.exe -install`
2. `.\mkcert.exe "*.headless.localhost"`
3. `.\mkcert.exe -install`
4. Open browser, try to open cm.headless.localhost

5. Open `certmgr.msc`



6. Check current time: 12 of May 2023, 1:26 AM GMT+2
## What went wrong
For some reason, the certificate generates for future + 8 hours.
And it is a reason, why it is invalid for browser or CLI calls.
(Or there is some other reason, I will confirm Date/time hypothesis after 10 hours)
Contributor guide
Assessment
This issue has not been assessed yet.