# Issue certificate using the IdentTrust « old chain »

**URL:** <https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918>\
**Category:** Help\
**Created:** [May 17, 2021, 5:34pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918 "2021-05-17T17:34:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 17, 2021, 5:34pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/1 "2021-05-17T17:34:46Z")

</div>

Hello community,

Since May 10th we started having certificate with new certification chain (ISRG Root X1 -\> R3 -\> [mydomain.com](http://mydomain.com)). We have a lot of connected IoT that are sensible to certification chain changes.

Is it normal ? I have been reading official communication that said it will start only at the end of June.

Can I use --preferred-chain parameter with certbot to use the "old chain" ? If yes, what is the value of this parameter ?

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [May 17, 2021, 5:38pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/2 "2021-05-17T17:38:24Z")

</div>

Welcome to the Let's Encrypt Community 🙂

This contains the information you seek:

> [@Production Chain Changes](https://community.letsencrypt.org/t/production-chain-changes/150739):
>
> M…

---

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 17, 2021, 5:46pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/3 "2021-05-17T17:46:14Z")

</div>

Thank you for your quick reply.

I cannot find it written clearly, but if I undertand correctly, their is no way to use the « old chain », only new « default chain » and « alternate chain » are available ?

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [May 17, 2021, 5:53pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/4 "2021-05-17T17:53:25Z")

</div>

You are correct. The default and alternate chains currently available both have leaf \<- R3 \<- ISRG Root X1. For the default chain, the ISRG Root X1 is actually signed by DST Root CA X3 and included with R3 and your certificate when you have a certificate issued to you.

This may help though:

The current:  
R3 signed by ISRG Root X1 signed by DST Root CA X3

is actually just a two-certificate CA chain of the previous:  
R3 signed by DST Root CA X3

If you can't get the two-certificate CA chain to work, you could just construct the "old chain" yourself (manually or via script) by including your leaf certificate and [R3 signed by DST Root CA X3](https://letsencrypt.org/certs/lets-encrypt-r3-cross-signed.pem). This is effectively "pinning" the old R3 intermediate certificate.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [May 17, 2021, 5:54pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/5 "2021-05-17T17:54:06Z")

</div>

> [@rjs](#):
>
> but if I undertand correctly, their is no way to use the « old chain », only new « default chain » and « alternate chain » are available ?

While **not recommended** it's always possible to build your own chain. The [cross-signed R3 intermediate](https://letsencrypt.org/certs/lets-encrypt-r3-cross-signed.txt) is valid until Sep 29 19:21:40 2021 GMT. After that date, there is no other option than described above any longer.

---

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 17, 2021, 6:04pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/6 "2021-05-17T18:04:18Z")

</div>

I never heard it was possible to manually build our own chain. Is there a tutorial explaining how to do it ?

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [May 17, 2021, 6:07pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/7 "2021-05-17T18:07:47Z")

</div>

It's pretty easy.

1. Get your new certificate chain issued from Let's Encrypt
2. Put only the first certificate in the issued chain (your leaf) and the [R3 certificate signed by DST Root CA X3](https://letsencrypt.org/certs/lets-encrypt-r3-cross-signed.pem) to which I gave you the download link (@Osiris's link is informational, while mine is the actual R3 certificate itself) in a single file with your certificate first

With just those two steps, you have constructed the old default chain.

New Default Chain Issued from Let's Encrypt:

```nohighlight
your leaf certificate signed by R3

R3 signed by ISRG Root X1

ISRG Root X1 signed by DST Root CA X3

```

Old Default Chain You Build Yourself:

```nohighlight
your leaf certificate signed by R3

R3 signed by DST Root CA X3

```

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [May 17, 2021, 6:21pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/8 "2021-05-17T18:21:50Z")

</div>

Do note that this is _not recommended_, as the intermediate used to sign your certificate could change any moment and without any notification what so ever. I.e., the intermediate R4 could suddenly be the signing intermediate in case of an incident with R3. Would such a thing happen and you'd still be providing your "manual" intermediate, the chain send by your server would be incorrect which could lead to errors in browsers.

**IF** you decide to manually provide a chain as described here you either **accept the risk of a broken chain in the event of a change in signing intermediate by Let's Encrypt** or even better **you should write some kind of script which rebuilds the chain used by analyzing the leaf certificate issued by Let's Encrypt**.

---

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 17, 2021, 6:33pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/9 "2021-05-17T18:33:22Z")

</div>

@griffin : Thanks a lot! I've just tried it and it works perfectly.

@Osiris : You talk about error in browsers, but in our case (IoT device that embed root certificate), is it problematic ? What is the probability that the intermediate certificate change ?

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [May 17, 2021, 6:44pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/10 "2021-05-17T18:44:52Z")

</div>

Hi @rjs

> [@rjs](#):
>
> You talk about error in browsers, but in our case (IoT device that embed root certificate), is it problematic ?

never hardcode intermediate certificates, that's a simple rule.

Browsers are tolerant, they add the chain. Other clients are critical. They may fail.

So if you have IoT you should always import the intermediate of your newly created certificate.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [May 17, 2021, 8:19pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/11 "2021-05-17T20:19:24Z")

</div>

> [@rjs](#):
>
> @Osiris : You talk about error in browsers, but in our case (IoT device that embed root certificate), is it problematic ?

Especially IoT devices are at risk of being completely locked out, we've seen that on this Community when the recent intermediate change happened.

> [@rjs](#):
>
> What is the probability that the intermediate certificate change ?

Unknown, could never happen, could be tomorrow.

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [May 17, 2021, 8:26pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/12 "2021-05-17T20:26:44Z")

</div>

Split this topic on May 17, 2021, 8:26pm UTC

A post was split to a new topic: [Never hardcode intermediate certificates](https://community.letsencrypt.org/t/never-hardcode-intermediate-certificates/151931)

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [May 17, 2021, 8:29pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/13 "2021-05-17T20:29:26Z")

</div>

Split this topic on May 17, 2021, 8:29pm UTC

2 posts were merged into an existing topic: [Never hardcode intermediate certificates](https://community.letsencrypt.org/t/never-hardcode-intermediate-certificates/151931/3)

---

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 17, 2021, 8:39pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/14 "2021-05-17T20:39:29Z")

</div>

I apologize but I’m a bit confused.

I wrote « IoT device that embed **root certificate** ». But we don’t embed intermediate certificate in our IoT devices.

So if the intermediate changes, what is the probem ?

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [May 17, 2021, 8:45pm UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/15 "2021-05-17T20:45:02Z")

</div>

> [@rjs](#):
>
> So if the intermediate changes, what is the probem ?

See the explantation of @Osiris

> [@Osiris](#):
>
> Do note that this is _not recommended_ , as the intermediate used to sign your certificate could change any moment and without any notification what so ever.

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [May 18, 2021, 12:02am UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/16 "2021-05-18T00:02:22Z")

</div>

Downloading the previously-used intermediate certificate (R3 signed by DST Root CA X3) and constructing your own old "default chain" should only be used as a temporary fix if you cannot immediately get the current "default chain" (as issued by Let's Encrypt) working. That temporary fix effectively "pins" the old R3 intermediate while ignoring the new R3 intermediate being sent with your certificate by Let's Encrypt. This works for now, but as many have warned in this thread, this will immediately break if Let's Encrypt starts signing RSA certificates with a different intermediate certificate for any reason. Please take the time now to fix the devices as necessary to utilize the three-certificate chain if at all possible.

---

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 18, 2021, 2:13am UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/17 "2021-05-18T02:13:08Z")

</div>

> [@griffin](#):
>
> This works for now, but as many have warned in this thread, this will immediately break if Let's Encrypt starts signing RSA certificates with a different intermediate certificate for any reason.

If it happens we could use the same « manual temporary fix » with the new intermediate certificate used by Let’s Encrypt or I am misanderstanding something ?

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [May 18, 2021, 2:35am UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/18 "2021-05-18T02:35:05Z")

</div>

You've got it right. 🙂

---

<div class="post-metadata">

**Author:** ![rjs](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@rjs](https://community.letsencrypt.org/u/rjs)\
**Post date:** [May 18, 2021, 2:46am UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/19 "2021-05-18T02:46:56Z")

</div>

@griffin : Thanks a lot for your support!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [June 17, 2021, 2:47am UTC](https://community.letsencrypt.org/t/issue-certificate-using-the-identtrust-old-chain/151918/20 "2021-06-17T02:47:26Z")

</div>

Closed on June 17, 2021, 2:47am UTC

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