MITM certificates carry no SAN for ordinary hostnames #4
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/multiproxy#4
Loading…
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?
certForRequestinpkg/handlers/handler_mitm.goinverts the error check onpublicsuffix.EffectiveTLDPlusOne:For any ordinary hostname the lookup succeeds, so the issued certificate has a CN and no
DNSNames. Go clients refuse it:curl accepts it, which is why it goes unnoticed. The requested hostname should always be in
DNSNames(an IP inIPAddresses); a wildcard for the eTLD+1 can be added on top.