我有.p8键格式,从Apple发送推送通知,从节点js到IOS,我有cert.pem,我希望使用终端将key.p8转换为key.pem。
我尝试了更多的搜索,但我没有得到正确的我的需要。我想要的是:
Bag Attributes
friendlyName: ...........
localKeyID: A8 36 8D 0E B2 D6 19 A1 B1 EF E7 4E 61 99 89 F3 25 D6 F1 D3
Key Attributes: <No Attributes>
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFDjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQI/Xaxq3vjtoMCAggA
MBQGCCqGSIb3DQMHBAi8DFOvE6FFrQSCBMhvMZ5+REeVVbPCVni1zrvc7a3n0Awg
F5q95GgY62UgDaZLsuP9NbrMGgwp3pmo9bQImhVDGqedIRQ7oeShESThTH8Nn68E
mIMOgF+5CB7Zmsw04CUHdeVqoMjChrnhnpVZd9J7KMJM+wDlKtl02rw92kSGY1wB
msiAm5OqFlWr9h6PJpzXm6v6QzdpGdY6AkVGcJuS0fE7LRs/43ZszcS0PxY84Vve
2PLZJegrV6xUWchH1kkFRf7jNiRvn39ObYQAXn3Gv1kCUCylXRREhaKaOmGsjQGU
dRnCnhCc3plLiHNUDubas+sD7QBW+j7Ge9U/yfAL8QlghrLvd9KPO0CaiHTgIsen
B9yquPYyLwyUxgTul6PuRzttPo/NIOn8CeOtlv6VGQYjZ9/US8SaJGjQDS37VqAh
zBevhUH7JKDCLTTmGvX/YemtO+SUqxU/7wvN7p+HnzFmGEEMC6199Novd0YkNLyw
MRQnyaARoL3TzAOXKcyGUZFL8ukm7AYRAJKaiFiZh+lk49mt/SbDPsoTi8Or4iMJ
89qnvMzC7cw3S/IOiOoNYF7seJS32yBC9HZqJwWYEjLSTefiUtZRPd1QC4IBrgoP
1qf4WjXSts0VP3RoYXcf661mdGCXD63N/GvjdThjqv2bBic6VZ9BqHUJdBdAWkkd
KXtfkzVVKh1RQVpQuiVNTFaFB63QudjoMVV/RHCTJJYC5BZjvwaEphvTGEYYOHzZ
h3K9iciY+Vc4W3M/5wah/lrhAGuJKCSyua1RavpjOGemufSBvl/IHxYLUx+F50E6
xpbk0WTI5JbKD0Qf+5DllV6OfbLjb24xCfNSXCHPUfM96Ui9bO2VIhGa476t5MVY
c3tO9HCyQEqh6wDH/dFpmQS+YGEup/2WNs3WOY7K3FoPbZSNfSj1bQ0Aj3S9WY6Y
ssiOjS3tvfgigmHx7At+Y/wBokkiBVSa/hOcwLIioxpdhC75PDxOSmOsPhv/rCLI
sjULjfAi0KtnAejdJzARYEAxkIrDCCKS6ZzCpq7PikUVAieffrHu0oQhB4vHhskD
FKFn1N5wCIDFXvj3hWnH1lDhNHQMRahMQwU9yQBrJA4L3sILHdlzzmG6DPj3TguJ
V9mie4SeOs/YNZ9Rx7K192w9FnLPLORynrWhXx3iB6ki1HQkpIqpPwdXijZCvwn6
p2E1ecL5cPFnf35pUDEsJ/fkt5xGzOwp7B2w5ZlZp0AWtcMMNexqlrGxYPD0bhRq
drO4QLMj/IwI7DsbqfVwtNJiqIAJbZmQtzb2Z78tGi2I+scEYeLxBPIICEIjJdrQ
c87PPegsFj7kD14LLfyWBhnazhhRLG2MdNAyF/Mt5elXNo5SYMlxEZkRVXAwkTqc
UzyT7LM63MwXR6ipLe4N2oayAp6lvsVWH5Hh6MvDIpw+k81n2UAe10I/cAYE1qyP
eepu6iFkSxrvVfLGex63H7RPbNGuxmZ765oAslpsdJxaXeHWW++iQdPCWv5aNqrw
gLWyWmtfkfUsL3vyvkBoe7fsFBVcHBFgsyJsJxLfEtSKmuk1eGOCbDsCtsi0oISZ
CqOeSCpePWxs3kvx6Oakk3oEAKQ9wQc8wgoK8b+gl+f/f+NEgVomy8JBt0iK7rKJ
i6g=
-----END ENCRYPTED PRIVATE KEY-----
有人能帮我吗。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。