@eskimo i tried the above method, but it seems like the end server always get the ipv6 no matter what, also not sure if this Swipt API bug for the getter has been fixed,i take it not as i see the same output as yours, any pointers on forcing ipv4?, thanks
Post
Replies
Boosts
Views
Activity
@eskimo This is slight deviation from the actual question, I am trying to make an API call using Network framework in iOS, i am completely ignoring URLSession because of my usecase.
i found the above snippet a bit helpful for headstart, This seems to be the configuration that we set before we make the actual network request, the SecTrust is something that we use to get it in the URLSession delegate whenever a request is made, so at this point i am not able to fetch the server certificate from this sec_protocol_options_set_verify_block.
So how can get cert pinning to work using Network framework? any help would be greatly appreciated, thanks.