# Https certificates valid period

**URL:** https://meta.discourse.org/t/https-certificates-valid-period/196124
**Category:** Self-hosting
**Created:** [July 6, 2021, 6:15am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124 "2021-07-06T06:15:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![youmustbekiddingme](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/youmustbekiddingme/32/226553_2.png) [@youmustbekiddingme](https://meta.discourse.org/u/youmustbekiddingme)
#### Post date: [July 6, 2021, 6:15am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124/1 "2021-07-06T06:15:25Z")

</div>

How long is the validity period of the https certificate?

---

<div class="post-metadata">

### Author: ![griffin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/griffin/32/223139_2.png) [@griffin](https://meta.discourse.org/u/griffin)
#### Post date: [July 6, 2021, 6:19am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124/2 "2021-07-06T06:19:13Z")

</div>

Welcome to the Meta Discourse Community 🙂

That depends upon the CA issuing the certificate. For example, Let’s Encrypt certificates last 90 days and should be renewed every 60 days. If you’re using certificates from an ACME CA (like Let’s Encrypt), your renewals should be automated.

---

<div class="post-metadata">

### Author: ![youmustbekiddingme](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/youmustbekiddingme/32/226553_2.png) [@youmustbekiddingme](https://meta.discourse.org/u/youmustbekiddingme)
#### Post date: [July 6, 2021, 6:26am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124/3 "2021-07-06T06:26:02Z")

</div>

I used docker to install discourse, and the https certificate was automatically installed for me. Does this certificate have a validity period? If so, what should I do if it expires? Can I use a certificate that I have purchased for a longer period of time?

---

<div class="post-metadata">

### Author: ![griffin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/griffin/32/223139_2.png) [@griffin](https://meta.discourse.org/u/griffin)
#### Post date: [July 6, 2021, 8:16am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124/4 "2021-07-06T08:16:39Z")

</div>

> [@youmustbekiddingme](#):
>
> Does this certificate have a validity period? If so, what should I do if it expires?

Your certificate has most likely been logged for certificate transparency (CT). Try searching for the domain name associated with your certificate at [https://crt.sh](https://crt.sh), which is a popular CT log aggregator.

> [@youmustbekiddingme](#):
>
> Can I use a certificate that I have purchased for a longer period of time?

Sure, but if your certificate automatically renews correctly, there’s really not much benefit. There’s no difference in the encryption being used unless you choose it to be so. If you want to test your site, you can use [SSL Server Test (Powered by Qualys SSL Labs)](https://www.ssllabs.com/ssltest/).

To tell a little about myself, I go by [the same user name in the Let’s Encrypt Community](https://community.letsencrypt.org/u/griffin/summary) where I’ve helped thousands of people with acquiring and installing certificates.

---

<div class="post-metadata">

### Author: ![youmustbekiddingme](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/youmustbekiddingme/32/226553_2.png) [@youmustbekiddingme](https://meta.discourse.org/u/youmustbekiddingme)
#### Post date: [July 6, 2021, 8:29am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124/5 "2021-07-06T08:29:09Z")

</div>

Thank you very much. It is still in the testing stage. When we have decided to publish, we will contact you about certificate installation issues.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 5, 2021, 8:29am UTC](https://meta.discourse.org/t/https-certificates-valid-period/196124/6 "2021-08-05T08:29:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
