datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2.01k stars 362 forks source link

Local network pinning #279

Closed VladIacobIonut closed 2 years ago

VladIacobIonut commented 2 years ago

Hey,

Our app functionality involves establishing connections both to a cloud and a lan server. I might not understand correctly but would it be possible to change TrustKit's shared configuration at runtime with one which contains the current IP address for our server as domain name?

Thanks.

nabla-c0d3 commented 2 years ago

Hello, TrustKit only supports pinning to fully qualified domain names - not IP addresses.