Post

Replies

Boosts

Views

Activity

Reply to Network.framework TLS / self-signed
@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.
Nov ’22