在 Windows 中为苹果推送通知创建 p12 证书 [英] create p12 certificate in windows for apple push notification

查看:38
本文介绍了在 Windows 中为苹果推送通知创建 p12 证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用 c# 为 iPhone 做推送通知(服务器端).我有developer_Push_SSL_certi.cer"文件.

I'm doing push notification (server side) for iPhone in c#. I have "developer_Push_SSL_certi.cer" file.

  1. 如何从 .cer 文件创建 .p12 证书?还是我必须在我的 PC 中安装上述 .cer 文件?
  2. 在服务器端发送推送通知所需的文件是什么(c#).

请各位大侠指点一下,windows下APN(服务器端)需要什么认证流程.

Please guide me guys, what is the certification process required for APN (server side) in windows.

推荐答案

首先将这个新证书 (developer_Push_SSL_certi.cer) 安装到您的 Mac.

First install this new certificate (developer_Push_SSL_certi.cer) to your Mac.

然后打开 KeyChain Access 并从左侧菜单导航到 Keys.查找您的开发证书.

Then open KeyChain Access and navigate to Keys from left menu. Find your development certificate.

展开您的证书,您将看到 Private 和 Public 线路,然后右键单击Private"之一,使用密码导出此证书.

Expand your certificate you will see both Private and Public lines and right click "Private" one, export this certificate with a password.

这足以从 Windows 发送通知.

Thats enough for sending notifications from windows.

这篇关于在 Windows 中为苹果推送通知创建 p12 证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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