You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Thread 1: "TrustKit was initialized with an invalid domain 5X.X3X.1X4.XXX" #341
Greetings community, would it be possible to add any additional properties or settings to be able to add an IP address as a domain in TrustKit? It would be very helpful.
There's no reason TrustKit can't support IP Address for this. We currently have logic performs input validation on this pinned domain - that is where this is being stopped. We do some host name verification logic also.
I'd support reviewing a Pull Request that enhances TrustKit to allow this - if you or anyone else wants to take the first stab at it.
Activity
alexanderdibenedetto commentedon Apr 27, 2026
There's no reason TrustKit can't support IP Address for this. We currently have logic performs input validation on this pinned domain - that is where this is being stopped. We do some host name verification logic also.
I'd support reviewing a Pull Request that enhances TrustKit to allow this - if you or anyone else wants to take the first stab at it.
alexanderdibenedetto commentedon Oct 15, 2026
Still waiting for community assistance in this matter, otherwise I'll try to get to it later this year!
Allow any domain name or IP address in the pinning configuration (#333,
alexanderdibenedetto commentedon Oct 22, 2026
Fixed in #371
TrustKit 4.0 (#378)