UrlSession with TLS client authentication

Hi Eskimo,

Hope you are doing well!!

I had implemented similar approach mentioned in [https://developer.apple.com/forums/thread/77694] in one of my projects works perfectly fine in mobile application. However, found that the same fails in watchOS . When try to hit server from watchOS wearable app following error is displayed.

CredStore - copyIdentPrefs - Error copying Identity cred. Error=-25300, query={
  class = idnt;
  labl = "https://customeendpointurl:443/";
  "r_Ref" = 1;
}

When I made following change in the project,

[configuration.urlCredentialStorage = nil ]

I can see no error.However, api's didn't hit server though.

Thanks in advance.

Answered by DTS Engineer in 685268022

I responded to your post on the thread you referenced.

Share and Enjoy

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

Accepted Answer

I responded to your post on the thread you referenced.

Share and Enjoy

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

UrlSession with TLS client authentication
 
 
Q