Azure Notification Hub unable to upload .p12 for APN

后端 未结 2 885
盖世英雄少女心
盖世英雄少女心 2020-12-09 16:54

I am not able to upload a .p12 for APN. and this is the error message I received. Any idea what cause this error?

SubCode=40000. Failed to validate credentia         


        
2条回答
  •  春和景丽
    2020-12-09 17:26

    I was having the same issue while uploading the certificate on the backend and finally found the solution after lot of struggling. Do the following:

    1. Select keys from your keychain
    2. Locate desired push private key
    3. Click the small arrow to expand the key & profile
    4. Now select the certificate only (this is a crucial step) no both the key & certificate ONLY SELECT CERTIFICATE and click for export
    5. Set password for your exported certificate and upload

    Have a look at this picture for reference:

    enter image description here

提交回复
热议问题