ios 如何更新推送通知服务证书

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20706656/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 22:50:03  来源:igfitidea点击:

How to Renew Push Notification Services Certificate

iosapple-push-notificationsapp-store-connect

提问by Vamsi Challa

I am pretty new to IOS development and honestly don't know much about certificates, except for the part that they are needed for the application to be posted on Apple store.

我对 IOS 开发还很陌生,老实说,我对证书知之甚少,除了在 Apple Store 上发布应用程序所需的部分。

My company has few apps on Apple Store, and I got an email saying, "Your Apple Push Notification Service Certificate will expire in 30 days.", for one of the applications.

我的公司在 Apple Store 上几乎没有应用程序,我收到一封电子邮件,内容是“您的 Apple 推送通知服务证书将在 30 天后过期。”,其中一个应用程序。

Now, I am not sure how to renew this certificate.

现在,我不确定如何更新此证书。

Here is what I did...

这是我所做的...

  1. I logged in to developer.apple.com
  2. Went to Certificates, Identifiers and Profiles
  3. Located the application that I got the message for
  1. 我登录了 developer.apple.com
  2. 转到证书、标识符和配置文件
  3. 找到我收到消息的应用程序

And Now, I am not sure what to do..

现在,我不知道该怎么做..

Please see the screenshot below, to see where I ended up..

请看下面的截图,看看我在哪里结束..

And from here.. What do I do?

从这里开始..我该怎么办?

The certificate didn't expire yet, so can I renew it right now? or should I wait for it to expire? If i can do it right now, what do I do? Click on Create Certificate and create a new one? How do I do it?

证书还没有过期,我现在可以更新吗?还是我应该等待它到期?如果我现在可以做到,我该怎么办?单击创建证书并创建一个新证书?我该怎么做?

enter image description here

在此处输入图片说明

回答by sha

Just generate a new certificate and replace the old one.

只需生成一个新证书并替换旧证书即可。

As a side note: when your existing APNS certificate expired, if your server still uses it - existing iOS applications will not be able to receive any notifications from your server. But as soon as you regenerate certificate and update your server to use it - everything will be normal again without any changes to already installed apps.

附带说明:当您现有的 APNS 证书过期时,如果您的服务器仍在使用它 - 现有的 iOS 应用程序将无法从您的服务器接收任何通知。但是一旦您重新生成证书并更新您的服务器以使用它 - 一切都会再次正常,而无需对已安装的应用程序进行任何更改。