# Create certificate using predefined ca root

**URL:** <https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340>\
**Category:** Help\
**Created:** [December 11, 2020, 1:47pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340 "2020-12-11T13:47:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsnamed](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/hsnamed/32/45313_2.png) [@hsnamed](https://community.letsencrypt.org/u/hsnamed)\
**Post date:** [December 11, 2020, 1:47pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/1 "2020-12-11T13:47:51Z")

</div>

I've problem, my mobile clients using intermediate certificate for verification that stored on mobile.

**Old chain**

- root : ISGR Root X1
- ca intermediate : X3 Authority

But after updating i got new root so new intermediate certificates.  
**New Chain**

- root : DST Root CA X3
- ca intermediate : R3  
So my clients unable to verify domain.

What can i do to solve it without updating clients ?  
Is it possible to generate new certificate chain using predefined CA Root like ISRG Root X1 ?  
How can i do it with certbot ?

---

<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:** [December 11, 2020, 1:49pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/2 "2020-12-11T13:49:52Z")

</div>

Hi @hsnamed

that's

> [@hsnamed](#):
>
> root : DST Root CA X3

the old root certificate, from DST, not from ISGR.

May be your server doesn't send the new intermediate certificate.

What's your domain name with that problem?

---

<div class="post-metadata">

**Author:** ![hsnamed](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/hsnamed/32/45313_2.png) [@hsnamed](https://community.letsencrypt.org/u/hsnamed)\
**Post date:** [December 11, 2020, 2:30pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/3 "2020-12-11T14:30:15Z")

</div>

Yes server send intermediate cert but problem that chains broken cause intermediate Old X3 doesn`t match new R3. How can i solve that ?  
I've just generating new cert but it has the same new chain : DST Root CA X3 -\> R3 -\> domain.  
On [https://letsencrypt.org/certificates/](https://letsencrypt.org/certificates/) i saw that ISRG Root x1 still available so its possible to get chains:  
ISRG Root X1 -\> X3 -\> domain.

---

<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:** [December 11, 2020, 4:17pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/4 "2020-12-11T16:17:33Z")

</div>

> [@hsnamed](#):
>
> How can i solve that ?

Your server sends the wrong intermediate certificate.

Your question is already the answer.

---

<div class="post-metadata">

**Author:** ![hsnamed](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/hsnamed/32/45313_2.png) [@hsnamed](https://community.letsencrypt.org/u/hsnamed)\
**Post date:** [December 11, 2020, 4:48pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/5 "2020-12-11T16:48:27Z")

</div>

The question is "how can i get new chain with  
**root** : ISRG Root X1  
**intermediate** : X3  
exactly using certbot ?"

---

<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:** [December 11, 2020, 4:52pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/6 "2020-12-11T16:52:52Z")

</div>

> [@hsnamed](#):
>
> The question is

No, that's not the question.

Your server has to send the correct intermediate. And the old intermediate will not longer work.

So your configuration is buggy and that's something you have to fix.

PS: Read the documentation - `--preferred-chain` allows a switch.

[https://certbot.eff.org/docs/using.html](https://certbot.eff.org/docs/using.html)

But the new ISRG Root X1 may use the new R3 too - so you have exact the same problem with the ISRG root.

---

<div class="post-metadata">

**Author:** ![hsnamed](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/hsnamed/32/45313_2.png) [@hsnamed](https://community.letsencrypt.org/u/hsnamed)\
**Post date:** [December 11, 2020, 5:21pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/7 "2020-12-11T17:21:41Z")

</div>

Thanks for all, I've read that intermediate Let’s Encrypt Authority X3 is retired , so impossible to get it with --preffered-chain, that`s sad.

---

<div class="post-metadata">

**Author:** ![hebbet](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/hebbet/32/21982_2.png) [@hebbet](https://community.letsencrypt.org/u/hebbet)\
**Post date:** [December 11, 2020, 5:42pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/8 "2020-12-11T17:42:34Z")

</div>

An intermediate can change at any time.

So don't rely on them.

---

<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:** [December 11, 2020, 7:13pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/9 "2020-12-11T19:13:50Z")

</div>

Indeed, hardcoding the X3 intermediate in your mobile client was a serious design flaw.

---

<div class="post-metadata">

**Author:** ![jvanasco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jvanasco/32/55900_2.png) [@jvanasco](https://community.letsencrypt.org/u/jvanasco)\
**Post date:** [December 11, 2020, 8:11pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/10 "2020-12-11T20:11:05Z")

</div>

Just adding to what others said:

- "LetsEncrypt X-series" intermediates are retired.
- "LetsEncrypt R-series" intermediates are now active
- LetsEncrypt currently provides possible two chains for your order. Both are signed by the Private Key in "LetsEncrypt R3". The first option is the default "LetsEncrypt R3" certificate, which is signed by "ISRG Root X1"; the second option is the "Cross-Signed LetsEncrypt R3", which is signed by "DST Root X3" (which expires in 2021).
- The LetsEncrypt ACME server provides all this information to clients via the API.

Your clients seem to be hardcoding the Intermediate and possibly the Root certificates. That is an error in your design. The Intermediates can change at any time, and one of the root certificates will expire shortly.

---

<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:** [December 11, 2020, 8:20pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/11 "2020-12-11T20:20:51Z")

</div>

Additional:

> [@jvanasco](#):
>
> LetsEncrypt currently provides possible two chains for your order.

Normally, it's not required to select one chain.

`server-daten.de` has a new R3 certificate.

My FireFox says, ISRG is the root. OpenSSL says, "DST Root" is used. Same with Chrome running under Windows.

Installing the correct intermediate certificate is always required.

---

<div class="post-metadata">

**Author:** ![jvanasco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jvanasco/32/55900_2.png) [@jvanasco](https://community.letsencrypt.org/u/jvanasco)\
**Post date:** [December 11, 2020, 8:47pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/12 "2020-12-11T20:47:43Z")

</div>

We are using different words for the same thing (my chain being your intermediate)

Deciding the correct chain/intermediate is really important for mobile clients though — ISRG is not installed on many active mobile platforms.

How is your system set up and doing that root switch? Is Firefox recognizing the LetsEncrypt intermediate has a crosssign available and substituting isrg for the dst?

---

<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:** [December 11, 2020, 9:14pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/13 "2020-12-11T21:14:17Z")

</div>

> [@jvanasco](#):
>
> How is your system set up and doing that root switch?

There is nothing, that's the point. It's a normal Windows 2019 server with an IIS 10.

And it's only one certificate ( [crt.sh | 3754094313](https://crt.sh/?id=3754094313) ), not something like "If this client, send this, if that, send that" or two certificates (RSA and EC).

Only installed (creating the pfx, loaded in the Machine\Webhosting), nothing else.

Then checked with FireFox and OpenSsl.

---

<div class="post-metadata">

**Author:** ![jvanasco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jvanasco/32/55900_2.png) [@jvanasco](https://community.letsencrypt.org/u/jvanasco)\
**Post date:** [December 11, 2020, 10:59pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/14 "2020-12-11T22:59:49Z")

</div>

> [@JuergenAuer](#):
>
> There is nothing, that's the point.

That should not be possible. You are serving the R3 intermediate that was cross-signed by DST CA Root X3, so there is no connection in that certificate chain to ISRG X1 Root. While the two intermediates share the same PrivateKey, that's it. Perhaps your version of Firefox, a plugin, or something in your computer is recognizing the cross-signed X3 intermediate and switching it to the one signed by ISRG.

Certificate viewer on OSX Firefox versions (tried legacy and current) show the correct chain.

 ![Screen Shot 2020-12-11 at 5.38.12 PM](https://global.discourse-cdn.com/letsencrypt/original/3X/4/3/43f9d315613967f646800005bc5d2280db9013b9.png)

---

<div class="post-metadata">

**Author:** ![\_az](https://avatars.discourse-cdn.com/v4/letter/_/22d042/32.png) [@\_az](https://community.letsencrypt.org/u/_az)\
**Post date:** [December 11, 2020, 11:16pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/15 "2020-12-11T23:16:40Z")

</div>

I've long noticed that some browser user interfaces are either:

- Lying about the path used to validate certificate trust, or
- Have some kind of weird intermediate caching/sharing going on, where if they can find a matching public key in an intermediate encountered on a different website, they will use it to build the path.

You can have a server with a fullchain that clearly builds a path to Identrust, but the browser shows a path to the ISRG Root. Like wtf mate? I always check the path with OpenSSL now.

---

<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:** [December 12, 2020, 10:09am UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/16 "2020-12-12T10:09:16Z")

</div>

> [@jvanasco](#):
>
> Perhaps your version of Firefox, a plugin, or something in your computer is recognizing the cross-signed X3 intermediate and switching it to the one signed by ISRG.

It's the standard Windows FireFox, nothing else.

And that behaviour isn't new, that FireFox shows the ISRG root.

The old InternetExplorer 11 shows the DST root.

---

<div class="post-metadata">

**Author:** ![jvanasco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jvanasco/32/55900_2.png) [@jvanasco](https://community.letsencrypt.org/u/jvanasco)\
**Post date:** [December 12, 2020, 6:43pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/17 "2020-12-12T18:43:25Z")

</div>

> [@\_az](#):
>
> Have some kind of weird intermediate caching/sharing going on, where if they can find a matching public key in an intermediate encountered on a different website, they will use it to build the path

I think that is what is going on with @JuergenAuer's situation. On a version of my cert manager, I had been aggregating cross-signs via public keys... but I couldn't figure out how to do this with EC so killed the feature. I need to borrow a windows machine to see what is going on with Windows' Firefox.

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [December 12, 2020, 11:10pm UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/18 "2020-12-12T23:10:18Z")

</div>

> [@\_az](#):
>
> You can have a server with a fullchain that clearly builds a path to Identrust, but the browser shows a path to the ISRG Root. Like wtf mate? I always check the path with OpenSSL now.

I think the browser is effectively trying to convince you that the end-entity certificate is valid, rather than trying to help you see whether the site's configuration is correct or is what you expected. The browsers seem to have given up on the latter thing some time ago. ☹

---

<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:** [December 13, 2020, 1:16am UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/19 "2020-12-13T01:16:43Z")

</div>

> [@hsnamed](#):
>
> **Old chain**
> 
> - root : ISGR Root X1
> - ca intermediate : X3 Authority
> 
> But after updating i got new root so new intermediate certificates.  
> **New Chain**
> 
> - root : DST Root CA X3
> - ca intermediate : R3

I just wanted to clarify that the information cited above is not entirely accurate. It should read:

**Old Chain**  
Intermediates:

- `Let's Encrypt Authority X3` signed by `DST Root CA X3` (cross-signed)
- `Let's Encrypt Authority X3` signed by `ISRG Root X1`

**New Chain**  
Intermediates:

- `R3` signed by `DST Root CA X3` (cross-signed)
- `R3` signed by `ISRG Root X1`

* * *

`DST Root CA X3` expires 14:01:15, Sep 30, 2021 GMT.

---

<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:** [January 12, 2021, 1:16am UTC](https://community.letsencrypt.org/t/create-certificate-using-predefined-ca-root/140340/20 "2021-01-12T01:16:52Z")

</div>

Closed on January 12, 2021, 1:16am UTC

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