Hello, our app uses a REST API with certificate based authentication to retrieve data about logged in users and it is not working anymore since the iOS 15 update (but it works on previous iOS versions) on real devices or simulators. The error we're getting is 403. Any help would be greatly appreciated.
Certificate based authentication not working in iOS 15
our app uses a REST API with certificate based authentication
What API are you using for this? NSURLSession?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Our API uses URLSession
Our API uses URLSession
Okay, assuming that you are using urlSession(_:didReceive:completionHandler:) with NSURLAuthenticationMethodClientCertificate, what are you seeing and how are you loading your client identity?
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
We're using Alamofire (which employs urlSession) to get data from the web based API. Alamofire works fine with data requests from other urls, but for the one that needs the certificate based authentication we are getting a 403 error. Again, this issue started with the iOS 15 update and is working fine on supported previous iOS versions.
Alamofire works fine with data requests from other urls, but for the one that needs the certificate based authentication we are getting a 403 error.
Okay, if you can reproduce the issue with URLSession, please create a TSI with a focused sample so DTS can take a further look into this issue.
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com