iOS 过期的证书怎么处理

 我来答
八维教育
2016-11-21 · 学高端技术就来八维教育
八维教育
北京八维教育是位于首都中关村上地信息产业园区的一所民办非学历高等教育机构。课程设置以市场需求为导向、以岗位要求为标准、为企业量身打造符合企业和市场需求的专业型人才。
向TA提问
展开全部
1.新的“WWDR Certificate”证书并安装。
2.打开钥匙串,在导航栏上,依次选择显示-显示已过期的证书,然后删除已经过期的证书
上传之后出现如图错误,”error itms-9000 the bundle at bundle path is not signed using an apple submission certificate”
由于最近某些原因,我将keychain给重置了一下,当时申请的CertificateSigningRequest.certSigningRequest文件也已失效,再看错误日志,我怀疑是证书的问题。
随后将所有的证书重新搞了一遍。问题依然存在。
接着用继续排查,用release证书打包出来一个.app,举例如AppName.app
然后用命令行来检测证书
$codesign -vvvv AppName.app
AppName.app: CSSMERR_TP_NOT_TRUSTED

OK,终于找到了明确的错误代码了。google了一下发现是因为缺少了“Apple Woldwide Developer Relations Certification Authority”这个证书导致。
接着查看keychain,发现证书存在。只不过由于我之前折腾的时候把证书信任权限给改了,接着就出现了问题。
后创意控9286
2016-11-19 · TA获得超过279个赞
知道小有建树答主
回答量:254
采纳率:50%
帮助的人:124万
展开全部
iOS如果提示XX证书过期,可以参考下面的帮助,有些必须要及时生成,有些可以晚点。
Certificates

Apple
Developer Program membership is required to request, download, and use
signing certificates issued by Apple. You must also be the Team Agent or
an admin of your development team to request distribution certificates
used for submitting apps to the App Store or Mac App Store. For more
information on how to use signing certificates, review the App
Distribution Guide.
In most cases, Xcode is the preferred method to request and install digital certificates for iOS
and OS X. However, to request certificates for the Apple Push
Notification service, Passbook, Mobile Device Management (MDM), and
Safari extensions, you will need to request and download them from
Certificates, Identifiers & Profiles in your account on the
developer website.
Expired or Revoked Certificates
Apple Push Notification Service Certificate
You can no longer send push notifications to your app.
Pass Type ID Certificate (Passbook)
If
your certificate expires, passes that are already installed on users'
devices will continue to function normally. However, you will no longer
be able to sign new passes or send updates to existing passes. If your
certificate has been revoked, your passes will no longer function
properly.
iOS Distribution Certificate (App Store)
If
your Apple Developer Program membership is valid, your existing apps on
the App Store will not be affected. However, you will no longer be able
to submit new apps or updates to the App Store.
iOS Distribution Certificate (in-house, internal use apps)
Users
will no longer be able to run apps that have been signed with this
certificate. You must distribute a new version of your app that is
signed with a new certificate.
Mac App Distribution Certificate and Mac Installer Distribution Certificate (Mac App Store)
If
your Apple Developer Program membership is valid, your existing apps on
the Mac App Store will not be affected. However, you will no longer be
able to submit new apps or updates to the Mac App Store.
Developer ID Application Certificate and Developer ID Installer Certificate (Mac applications)
If
your certificate expires, users can still download, install, and run
versions of your Mac applications that were signed with this
certificate. However, you will need a new certificate to sign updates
and new applications. If your certificate has been revoked, users will
no longer be able to install applications that have been signed with
this certificate.
Apple Worldwide Developer Relations Certification Intermediate Certificate
The
Apple Worldwide Developer Relations Certificate Authority issues
certificates used by developers for signing third party apps and Safari
Extensions, and for using Apple Wallet and Apple Push Notification
services. We've issued a renewed certificate that must be included when
signing all new Apple Wallet Passes, Apple Push Notifications, and
Safari Extensions starting February 14, 2016. Read more.
Note:
Apple can revoke digital certificates at any time at its sole
discretion. For more information, read the Apple Developer Program
license agreements in your account on the developer website.
Compromised Certificates
If
you suspect that your Pass Type ID certificate or Developer ID
certificate and private key have been compromised, and would like to
request revocation of the certificate, send an email to
product-security@apple.com. You can continue to develop and distribute
passes by requesting an additional certificate from your account on the
developer website.
I received an error message saying, "Xcode
could not find a valid private-key/certificate pair for this profile in
your keychain."
This error message indicates that your system's
Keychain is missing either the public or private key for the certificate
you are using to sign your application.
This often happens when
you are trying to sign and build your application from a different
system than the one you originally used to request your code signing
certificate. It can also happen if your certificate has expired or has
been revoked. Ensure that your app's provisioning profile contains a
valid code signing certificate, and that your system's Keychain contains
that certificate, the private key originally used to generate that
certificate, and the WWDR Intermediate Certificate.
For instructions on how to resolve this error, review the Code Signing support page.
What happens to my Developer ID–signed applications if my Apple Developer Program membership expires?
If
your membership expires, users can still download, install, and run
your Developer ID–signed applications. However, once your Developer ID
certificate expires, you must be an Apple Developer Program member to
get new Developer ID certificates to sign updates and new applications.
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
liangx1014
2016-12-02 · 超过45用户采纳过TA的回答
知道小有建树答主
回答量:110
采纳率:0%
帮助的人:54万
展开全部
1、对于过期的证书,直接删掉就可以了,如果还需要使用,就需要重新下载,证书不能更新。
2、一些证书下载的时候需要特殊账户,比如:ios开发时,如果想要在真机上编译就需要下载开发证书,这个证书需要开发者账户(99美刀/年)才能下载使用,普通用户登录是不能编译的。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式