生成推送通知 ssl 证书并使用新的苹果面板进行开发? [英] generate push notification ssl certificate and provision using new apple panel for development?

查看:28
本文介绍了生成推送通知 ssl 证书并使用新的苹果面板进行开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用这个链接我尝试制作推送通知应用.

using this link i try to make push notification apps .

但是,这使用了旧的苹果面板来生成 ssl 和提供证书.

but, this used old apple panel for generate ssl and provision certificate.

有人使用新的苹果面板生成 ssl 和配置吗?

any one generate ssl and provision using new apple panel?

下面生成ck.pem的步骤

below step for generate ck.pem

1) $ openssl x509 -in aps_developer_identity.cer -inform der -outPushChatCert.pem

1) $ openssl x509 -in aps_developer_identity.cer -inform der -out PushChatCert.pem

2) $ openssl pkcs12 -nocerts -out PushChatKey.pem -in PushChatKey.p12

2) $ openssl pkcs12 -nocerts -out PushChatKey.pem -in PushChatKey.p12

输入导入密码:

MAC 验证正常

输入 PEM 密码:

正在验证 - 输入 PEM 密码:

Verifying - Enter PEM pass phrase:

3) $ cat PushChatCert.pem PushChatKey.pem > ck.pem

3) $ cat PushChatCert.pem PushChatKey.pem > ck.pem

4) $ telnet gateway.sandbox.push.apple.com 2195

4) $ telnet gateway.sandbox.push.apple.com 2195

正在尝试 17.172.232.226...

Trying 17.172.232.226...

连接到 gateway.sandbox.push-apple.com.akadns.net.

Connected to gateway.sandbox.push-apple.com.akadns.net.

转义字符是'^]'.

这是正确的步骤吗?

请帮帮我......

谢谢

推荐答案

您仍然可以使用 供应和开发指南.他们没有为新的 Certificates, Identifiers & 修改它.Profiles 页面(取代了 iOS Provisioning Portal),但没有太大区别.

You can still use the Provisioning and Development guide. They haven't modified it for the new Certificates, Identifiers & Profiles page (which replaced the iOS Provisioning Portal) yet, but it doesn't make much difference.

在以下屏幕中点击Identifiers:

然后点击相关的 App ID(如果不存在则创建一个新的).

Then click on the relevant App ID (or create a new one if it doesn't exist).

然后点击Edit.

然后确保 Push Notifications 旁边的复选框已启用(如果没有,请选中它).

Then make sure the check box next to Push Notifications is enabled (check it if it's not).

然后为 DevelopmentProduction 点击 Create Certificate....

Then click Create Certificate... for either Development or Production.

流程的其余部分应该与门户更改之前的方式相同,因此您可以使用我提供的链接中的说明,或其他教程中的说明(例如您提供的链接中的说明).

The rest of the process should be identical to the way it was before the portal change, so you can either use the instructions in the link I provided, or instructions from other tutorials (such as the one in the link you provided).

这篇关于生成推送通知 ssl 证书并使用新的苹果面板进行开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆