Post

Replies

Boosts

Views

Activity

Reply to HTTP Status cod 403 with client certificate authentication
Somehow this is still an issue 5 years later. We're using client cert based authentication in our NSURLSession and finding that in some cases a 403 from the server will result in: NSURLErrorClientCertificateRequired It's pretty easy to prove, by just returning a 200 from the server instead and everything works (the full TLS handshake succeeds). The fact that NSURLResponse is completely nil in a 403 and it appears that the TLS handshake is failing (when its not) is a bug that IMO should have been fixed years ago.
Aug ’23
Reply to HTTP Status cod 403 with client certificate authentication
Somehow this is still an issue 5 years later. We're using client cert based authentication in our NSURLSession and finding that in some cases a 403 from the server will result in: NSURLErrorClientCertificateRequired It's pretty easy to prove, by just returning a 200 from the server instead and everything works (the full TLS handshake succeeds). The fact that NSURLResponse is completely nil in a 403 and it appears that the TLS handshake is failing (when its not) is a bug that IMO should have been fixed years ago.
Replies
Boosts
Views
Activity
Aug ’23