Push notification - Caused by: java.io.IOException: toDerInputStream rejects tag type 45

后端 未结 2 2475
悲&欢浪女
悲&欢浪女 2021-01-02 03:40

I got this error when my server try to push a notification to a specific device based on device token and ck.pem (combination between .pem file, cert and key).



        
2条回答
  •  不知归路
    2021-01-02 04:02

    I just found the answer. When I try to generate a P12 key, I need to select both, a private key and certificate in keychain access.

    enter image description here

提交回复
热议问题