Are you able to reproduce the issue? Yes
What software version(s) and hardware have you reproduced the issue on?
iOS 14, iOS 15
iPhone XR, iPhone 12 simulator (On All iOS devices)
Description
When trying to import a P12 certificate using the API SecPKCS12Import, it is failing with error errSecDecode = -26275 since 09/23 in production. We tried to figure out the change in our code base (client as well as server side) that might have triggered this failure but there is no change on either side. The same P12 certificate is successfully validated using the below mentioned openssl command on the terminal.
openssl pkcs12 -in -passin pass:
Please can you tell us how we may debug the API SecPKCS12Import and understand what might be incorrect in P12 certificate format due to which it has started failing.
Note: The same code (with zero change) was working fine in production until 09/23.
If required, we may share the p12 certificate and associate password with you to debug it further.
12
2
14k