Hi and thanks for the valuable info. However, I really want to be able to identify the exact issue with my certificate. Perhaps you can guide me where to search in the logs ?
Post
Replies
Boosts
Views
Activity
Your suspicion is correct. I simply followed your steps : Select the digital identity, choose File > Export Items, and export as a .p12.
Do you think that If I use the programmatic approach of SecItemExport, then I may get different results ?
Hi,
I was trying to use XPC connection in order to pass the generation of NSURLCredential to a user application (which is the XPC server in this scenario).
while i'm able to obtain the NSURLCredential object from a user application, i fail to pass it in the XPC reply callback with the following reason:
Exception: decodeObjectForKey: Object of class "NSURLCredential" returned nil from -initWithCoder: while being decoded for key <no key>
it looks like this object require implementation of method -initWithCoder since it's an opaque object.
Perhaps you can give me some guidelines about how to do that, I'm not sure I understand the entire contents of NSURLCredentials.
BTW, This is how I create the object on the client application :
NSURLCredential *certificateBasedCredential = [NSURLCredential credentialWithIdentity:certificates:persistence:];
Thanks !