简体   繁体   English

当ssl证书过期并且您的应用使用ssl固定时,您会怎么做?

[英]what do you do when an ssl certificate expires and your app uses ssl pinning?

I am trying to decide if it's a good idea to do ssl pinning in my iOS game that uses a server to deliver content. 我试图决定在我的iOS游戏中使用服务器传送内容进行ssl固定是否是个好主意。 It seems like it's important, but the one thing that is really bothering me is the thought of the day that the certificate expires. 这似乎很重要,但真正困扰我的一件事就是想到证书到期的那一天。 Since the certificate has to be included in the app bundle, this means there will be a point where users will be forced to upgrade. 由于证书必须包含在应用程序包中,这意味着将有一个用户将被迫升级的点。 Depending on what Apple is doing at that time, might mean they can't upgrade due to device / os constrictions. 取决于Apple当时正在做什么,可能意味着由于设备/操作系统限制而无法升级。 So, I am really nervous about putting this in. 所以,我真的很担心这个。

Has anyone had any experience with ssl pinning and expired certificates, making this a seamless, no-down-time thing for your users? 有没有人有过使用ssl固定和过期证书的经验,这对你的用户来说是一个无缝,无需停机的东西?

You could get a certificate with a longer expiry, either by buying one or generating a self-signed certificate (which has its pitfalls). 您可以通过购买证书或生成自签名证书(有其缺陷)来获得更长期限的证书。

You could also pin against the public key rather than the certificate as a whole. 您也可以针对公钥而不是整个证书。

If it comes to the point where you can't maintain backwards compatibility and older devices can't upgrade, it's just hard luck. 如果它无法保持向后兼容性并且旧设备无法升级,那就太难了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 iOS 中,如果固定的 SSL 证书过期,我是否需要重新提交应用程序? - In iOS, if pinned SSL certificate expires, do I need to re-submit the app? 如何使用Alamofire测试证书固定? - How do you test certificate pinning with Alamofire? 我的SSL证书过期后,ASIFormDataRequest仍然可以工作吗? - Will ASIFormDataRequest still work when my SSL certificate expires? SSL固定和证书验证之间的区别 - Difference between SSL pinning and certificate validating 没有使用AFNetworking证书的iOS SSL固定? - iOS SSL Pinning without a certificate using AFNetworking? 使用Microsoft Azure SDK在iOS中进行SSL证书固定 - SSL Certificate Pinning in iOS with Microsoft Azure SDK 如何获取用于 SSL 固定的公钥哈希? - How do I get public key hash for SSL pinning? 如何在 Alamofire swift 5 中执行 SSL 公钥固定 - how to do SSL public key pinning in Alamofire swift 5 如何使用 alamofire 管理器在 ios app swift4 中添加 ssl 证书固定? - How to add ssl certificate pinning in ios app swift4 using alamofire manager? 我需要通过heroku服务器和iOS应用程序购买SSL证书。 我究竟需要什么? - I need to purchase an SSL certificate to use through a heroku server and iOS app. What exactly do I need?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM