Export to GitHub

apns-sharp - issue #21

The credentials supplied to the package were not recognized


Posted on Feb 28, 2010 by Happy Rabbit

I'm guessing I'm missing something simple. I have my device id and have verified it is correct. I have my .p12 file and have verified in the debugger that it is being decrypted correctly and my certificate is correctly being passed to the AuthenticateAsClient method.

I get the error: "The credentials supplied to the package were not recognized" when running my modified version of the Notifications test project.

Any pointers to push me in the right direction? Right now I'm stumped and I'm not really sure where to focus my efforts.

Thanks in Advance! J.D.

Comment #1

Posted on Feb 28, 2010 by Happy Rabbit

I found issue 3 was the same problem. Really need to update the wiki and maybe have a special note so people don't blow over it thinking they already read how to generate the .p12 file, because the Apple instructions explicitly tell you to select both the cert and the private key when creating your.p12 file.

http://code.google.com/p/apns-sharp/issues/detail?id=3

Works now, though. Thanks a ton for making this open source!

Comment #2

Posted on Mar 27, 2010 by Happy Lion

Updated the wiki

Status: Done

Labels:
Type-Defect Priority-Medium