菜鸟教程小白 发表于 2022-12-12 13:25:14

ios - Apple Enterprise Distribution Certificate 和 Profile 过期逻辑


                                            <p><p>最近,我遇到了个人资料和证书到期的经历,我所有的分布式应用程序都停止运行。所以我想深入了解这个逻辑。我在下面列出了几个问题。请任何人回答,因为大多数 iOS 开发人员仍然不知道答案。</p>

<ol>
<li><p>为什么苹果的证书和资料会在一年后到期?</p></li>
<li><p>我们可以将有效期从一年延长到任何一年吗?</p></li>
<li><p>iOS 如何决定,特定应用证书已过期,因此不应在设备中运行?</p></li>
<li><p>何时安装的应用生命周期由 iOS 决定,即首次安装应用的时间或创建证书和配置文件的时间?</p></li>
</ol>

<p>大多数 iOS 开发人员都想知道这个证书过期过程背后的逻辑,所以请回答谁知道这背后的真相。</p>

<p>提前致谢。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><blockquote>
<p>Why apple is expiring certificates and profiles exact after one year ?</p>
</blockquote>

<p>这样您就不会设置并行应用商店(IMO)</p>

<blockquote>
<p>Can we extend the limit of expiration year from one year to any ?</p>
</blockquote>

<p>对于企业许可证,“内部”分发配置文件的有效期为 3 年。这是一个旧的 <a href="https://stackoverflow.com/questions/9216485/how-to-manage-enterprise-distribution-certificate-expiration/9226246#9226246" rel="noreferrer noopener nofollow">thread</a>你可以引用一下。</p>

<blockquote>
<p>How iOS decide, The particular app certificate is expired so it should not be run in the device ?</p>
</blockquote>

<p>来自 Apple 文档:<strong>第一次在设备上打开应用程序时,通过联系 Apple 的 OCSP 服务器来验证分发证书。除非证书已被吊销,否则应用程序可以运行。</strong></p>

<blockquote>
<p>When installed app life is deciding by iOS i.e. When app is installed first time OR when Certificates and Profiles created ?</p>
</blockquote>

<p>同上,在运行应用程序之前会考虑证书和 PP 的到期日期。尝试安装一个用旧证书签名的应用程序,你会看到。()</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - Apple Enterprise Distribution Certificate 和 Profile 过期逻辑,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/27635659/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/27635659/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - Apple Enterprise Distribution Certificate 和 Profile 过期逻辑