问题
I'm trying to create SNS Application for IOS. After uploading the .p12 file and entering the password I clicked on "Load Credentials From File" button, but I always get the following error message:
"Error loading apple credentials from file"
Please, does anybody know what's going on? what's the problem?
回答1:
You have exported the wrong P12 file.
Open KeyChain Access, click "Certificates" at the left panel, click the arrow at the left hand side of your certificate, there's a private key below. You need to export that key.
Attached a screenshot to better illustrate this.
回答2:
If you don't work with Ken Tan's solution,
Make sure the name of your private key to be in English.
Some Japanese / Korean users failed to do this because of the name of key in their language. I think this problem could occur in countries not using Roman characters.
When making CSR, you should use a name in English.
来源:https://stackoverflow.com/questions/32044647/amazon-sns-for-apple-error-loading-apple-credentials-from-file