简体   繁体   English

更新SSL证书是否需要重新颁发证书?

[英]Does renewing SSL certificate require re-issuing the cert?

I have an SSL certificate that I am using to secure port 443 (HTTPS) on my nginx server running on Ubuntu for about 10 months now. 我有一个SSL证书,用于在我的运行在Ubuntu上的nginx服务器上保护端口443(HTTPS)大约10个月。

When I bought the cert, I got it for one year, so I have about 2 more months with this certificate. 当我购买证书时,我得到了一年,所以我还有2个月以上的证书。 My question is: "When I renew this cert, Will I just need to pay for renewal? or will I have to re-issue the cert with a new CSR, and have a potential downtime while installing? 我的问题是:“当我更新此证书时,我是否只需要支付续费费用?或者我是否必须使用新的CSR重新颁发证书,并且在安装时可能会有停机时间?

I need to plan for any downtime from now. 我需要计划从现在开始的任何停机时间。

Thanks in advance for your answers. 提前感谢您的回答。

It's not possible to extend the expiration of an existing certificate once issued. 一旦发布,就不可能延长现有证书的到期时间。 The only way is to issue a new certificate. 唯一的方法是颁发新证书。

Most certificate authorities offers a "renewal" concept, which provides some advantages compared to a new purchase. 大多数证书颁发机构都提供“续订”概念,与新购买相比,它提供了一些优势。 For example, you can renew in advance to the certificate expiration, and they will issue the new certificate from the expiration of the previous one, and not from the day the new one is issued. 例如,您可以提前续订证书到期日期,并且他们将在前一个证书到期时颁发新证书,而不是从颁发新证书的那天开始。

The re-issue or re-key is a different thing. 重新发行或重新密钥是另一回事。 It generally means re-keying an existing certificate order with a different private key and/or CSR. 它通常意味着使用不同的私钥和/或CSR重新键入现有证书订单。 It generally doesn't change the expiration of the certificate, hence it's not a renewal. 它通常不会更改证书的到期日期,因此它不是续订。 Both renews and rekeys result in a new certificate (again, it's not possible to change an existing certificate once issued), but the rekey only alters the certificate information and not the expiration. 更新和重新生成密钥都会生成新证书(同样,一旦发布,就无法更改现有证书),但重定密钥只会更改证书信息而不是过期。

A renewal can be issued with the same original CSR and key, or with a completely new one. 续订可以使用相同的原始CSR和密钥,也可以使用全新的CSR和密钥。 It's up to you. 由你决定。

As in all cases a new certificate is issued, you will have to replace the existing one. 在所有情况下都会发布新证书,您必须更换现有证书。 Replacing a certificate is generally a no-downtime task. 更换证书通常是一项无需停机的任务。 You simply upload the new one, change the server settings and reload them (or restart the server). 您只需上传新的,更改服务器设置并重新加载(或重新启动服务器)。

Most webservers including Nginx supports hot reloads, therefore you don't need to restart the server and wait for it to reboot. 包括Nginx在内的大多数Web服务器都支持热重新加载,因此您无需重新启动服务器并等待它重新启动。

If planned correctly, the renewal will be a no downtime task. 如果计划正确,续订将是无停机任务。

To get the new one you might or might not need to submit a new CSR, depending on the CA. 要获得新的CSR,您可能需要或可能不需要提交新的CSR,具体取决于CA. But in any case you get a new certificate file and need to replace the existing certificate on your server with a new one. 但无论如何,您都会获得一个新的证书文件,并需要使用新证书替换服务器上的现有证书。 See also https://www.digicert.com/ssl-certificate-renewal.htm 另请参见https://www.digicert.com/ssl-certificate-renewal.htm

Renewal of SSL certificate keeps security on your website alive along with your verified identity. 续订SSL证书可确保您网站上的安全性与您经过验证的身份一致。 The lapse in renewal can cause a warning on your website and warns your customers to move away from your site. 续订失误可能会在您的网站上发出警告,并警告您的客户离开您的网站。

It depends on the SSL provider that you should continue with old CSR or generate new CSR, but it is recommended to create a new one to get rid of misconfiguration. 依赖于SSL提供商,您应该继续使用旧CSR或生成新的CSR,但建议创建一个新的以免摆错配置。 However, it is a myth that your server will face downtime in the renewal of SSL certificate. 但是,您的服务器在更新SSL证书时将面临停机时间,这是一个神话。

Certificate renewal and re-issuance both are different terms. 证书续签和重新签发都是不同的条款。 Certificate renewal happens after the expiry of a certificate, while certificate re-issuance in the case of lost of a private key, want to change the domain/organization name or add new SAN names. 证书到期后会进行证书续订,而在私钥丢失的情况下重新颁发证书,想要更改域/组织名称或添加新的SAN名称。

Most certificate providers are sending renewal reminder email frequently before certificate expiry. 大多数证书提供商在证书到期之前经常发送续订提醒电子邮件。 So, It is advisable to renew your certificate earlier, you can take advantage of getting additional validity period from early renewals. 因此,建议您提前续订证书,您可以利用从早期续订中获得额外的有效期。

This article may help you to understand the certificate renewal process. 本文可以帮助您了解证书续订过程。 https://www.ssl2buy.com/wiki/how-to-renew-ssl-certificate/ https://www.ssl2buy.com/wiki/how-to-renew-ssl-certificate/

Shortly to answer, no renewing SSL Certificate does not require re-issuing the cert, simply because reissue and renewal are 2 different actions with SSL certificate. 很快回答,没有续订SSL证书不需要重新颁发证书,只是因为重新颁发和续订是SSL证书的两种不同行为。

As you explained your situation, you are left with 2 months with your existing certificate and after that it will expire, so a Renewal is required. 在您解释您的情况时,您将获得2个月的现有证书,之后它将过期,因此需要续订。 A Reissue (Revoke & Replace) is quite different, in that you cancel your current, valid SSL/TLS Certificate due to any of the reason and request for a new one. 重发(撤销和替换)是完全不同的,因为您因任何原因和请求新的证书而取消当前有效的SSL / TLS证书。

Reissue: 补发:

Reissue of Certificates is the process where certificate has to be regenerated with Certificate Authority if needed. 重新颁发证书是必须使用证书颁发机构重新生成证书的过程。 For example, if you have lost your Private Key. 例如,如果您丢失了私钥。 For that CA views the details of your certificate from list of certificates they have and then reissue the Certificate. 对于该CA,从他们拥有的证书列表中查看证书的详细信息,然后重新颁发证书。

Furthermore, the process is quite same like in similar way activation will take place, like pasting of CSR for same domain name, selecting & approving of email. 此外,该过程完全相同,就像以类似的方式进行激活一样,例如粘贴相同域名的CSR,选择和批准电子邮件。 Reissuing of certificate change its Certificate ID & a new certificate record is also added into the account. 重新颁发证书更改其证书ID和新证书记录也会添加到帐户中。

Renewal: 更新:

On the other hand renewal of certificate may seems pretty much same as purchasing new certificate, but it's different. 另一方面,证书的更新可能与购买新证书几乎相同,但它有所不同。 Renewal functionality is fully integrated within the module. 更新功能完全集成在模块中。 If the settings of "Payment Type" is set to "Recurring" while creating a product, invoices for renewals will be generated automatically. 如果在创建产品时将“付款类型”的设置设置为“重复”,则会自动生成续订发票。 Once paid, renewal of SSL certificates will be created automatically as well. 付款后,还会自动创建SSL证书的续订。 Though one thing to note is that, after the renewal of SSL still activation is required through CSR. 虽然需要注意的一点是,在更新SSL之后仍然需要通过CSR激活。

Now one important thing is that, if you renew it before actual expiry date, like in your situation before 2 months, your new certificate will have expiration date one (or several, if you choose to be more than one year duration) year from the expiration date of the initial SSL certificate, so you will not lose any time on it. 现在一件重要的事情是,如果您在实际到期日之前续订,就像您在2个月前的情况一样,您的新证书将有一个(或几个,如果您选择超过一年的持续时间)年的到期日期初始SSL证书的到期日期,因此您不会丢失任何时间。

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

相关问题 IIS中的“ Require SSL”证书与用于网站绑定的HTTPS证书如何相关? - How does the certificate of 'Require SSL' in IIS relate to the HTTPS certificate for website binding? Java SSLSockets是否需要提供的SSL证书? - Do Java SSLSockets require a supplied SSL Certificate? 为什么双向 SSL 需要客户端的密钥对而不仅仅是公共证书? - Why does mutual SSL require a key pair on the client side instead of just a public certificate? TLS证书是否需要公共SAN - Does the TLS cert would require an common SAN 检索PEM证书:SSL_connect返回= 1 errno = 0状态= SSLv3读取服务器证书B:证书验证失败 - Retrieve PEM cert: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed SSL 证书是保护“网络”还是“仅”保护数据? - Does SSL Certificate protects the “network” or “just” the data? 在源代码管理中存储SSL证书 - Storing SSL cert in source control ssl证书如何防止黑客克隆 - How does a ssl certificate prevent a hacker from cloning 是否需要为每个嵌入式设备提供单独的服务器SSL证书? - does it required to have individual server SSL certificate for each embedded device? Hessian在安全性/证书/ SSL上下文中是什么意思? - What does Hessian in Security / Certificate / SSL Context mean?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM