I am trying to update the APNS credentials for several notification hubs my company has in Azure Portal. I have generated the new .p12 certificate and given it a password, but when I try and upload the certificate, the following happens:
- In Azure Portal, I go to the notification hub's APNS credential section. It lists the old certificate's hash as the thumbprint:
D1E7D736D688AAA11F4CCA7AE992D9C9F38E8A78
.
- I upload the new .p12 file and enter the password. (I have manually checked the expected thumbprint of the new .p12 - its thumbprint, or rather its SHA1 hash, is
AA670FE991683F95ED6500C7B81C656A40182D7C
.)
- Upon clicking Save, Azure Portal says the notification hub was successfully updated, but the certificate thumbprint field does not change. It still has the old hash. I'm left to conclude that it didn't actually update anything.
This happens even if I delete the previous certificate and upload the new one afterward.
How do I fix this?