更新的协同设计证书显示钥匙串授权对话框
我的应用程序将项目存储在 Mac 的钥匙串中。我确保使用代码签名证书对应用程序进行签名,以便我的用户每次更新应用程序时都不会受到钥匙串授权对话框的困扰。
问题是:代码签名证书的有效期只有一年,我最近不得不更新证书。我现在想发布一个新的更新,该更新将使用更新的证书进行签名。当我安装更新时,钥匙串不再信任该应用程序并显示授权对话框。
有办法避免这种情况吗?如果没有,我可以采取什么措施来避免下次证书过期时出现这种情况?
My app stores items in the Mac's keychain. I made sure I signed the app using a code signing certificate so that my users aren't bothered by keychain authorization dialogs everytime I update the app.
The problem is: The code sign certificate was only valid for one year and I had to renew the certificate recently. I want to release a new update now which will be signed using the renewed certificate. When I install the update, keychain no longer trusts the app and shows the authorization dialog.
Is there a way to avoid this? If not, is there anything I can do to avoid this the next time my cert expires?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找不到办法避免这种情况。即使更新旧证书,CA 也会生成全新的证书。我的“解决方案”是申请更长的代码签名证书 - 3 年。
I couldn't find a way to avoid this. The CA generates a completely new cert even when renewing old certificates. My 'solution' is to apply for a longer code signing certificate - 3 years.