How to add certificate for tlsOptions with networkAPI

Hello

I am trying to setup web socket secure server. I have used telegraph in order to set it up but I would like to be able to do it without the library. I believe I have basic setup as I can setup with WS. I am currently getting No_Certificate_set error while using networkAPI.

So I want to know how do I setup certificate using the Apple's networkAPI?

Answered by DTS Engineer in 724545022

Are you trying to supply a TLS client identity, for the benefit of mutual TLS? Or are you trying to override TLS server trust evaluation.

I’m using terms defined in TLS for App Developers.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Are you trying to supply a TLS client identity, for the benefit of mutual TLS? Or are you trying to override TLS server trust evaluation.

I’m using terms defined in TLS for App Developers.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How to add certificate for tlsOptions with networkAPI
 
 
Q