Question: I was trying to configure push notifications for Safari in the Control Panel but I got an error: "Failed to convert pem into der". How can I fix it?
Answer: This error means you uploaded the certificate itself instead of the private key exported from it. For Safari you have to upload the private key exported from the certificate in *.p12 format.
See the "Export your private key" step of the Safari configuration guide: Safari configuration.
If you have done all these steps and the .p12 file still does not upload, check whether your .p12 contains both the private key and the certificate. If the certificate is missing, create a new certificate for your current Website Push ID as described in the guide above, then export a new .p12 file.
Please note: this Apple-credential (Website Push ID + .p12) configuration is only required to support Safari on macOS 10.14–12. Safari on macOS Ventura and later uses the standard Web Push setup, which does not involve a .p12 file at all — see Web push configuration.
Comments
0 comments
Please sign in to leave a comment.