mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #504] Missing Extended Key Usage #304
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#304
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 @efa2d19 on GitHub (Feb 6, 2023).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/504
Environment
mkcert -version): v1.4.4What you did
mkcert -installWhat went wrong
Basically nothing, everything still works fine, but Proxyman always throws an error in my face at launch
It turns out that EKU is required for MacOS ≥10.15 link to apple article
@lublak commented on GitHub (Mar 3, 2023):
@Drugsosos i think only
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},should also work.Based on this description:
TLS server certificates must contain an ExtendedKeyUsage (EKU) extension containing the id-kp-serverAuth OID.@goldstar611 commented on GitHub (Apr 28, 2023):
I think you just skipped a step of generating a leaf cert after you generated the CA cert because it kind of looks like you're using your root CA as your server certificate.
You'll find
x509.ExtKeyUsageServerAuthin both makeCert and makeCertFromCSR