mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Add an option to keep using the old IdenTrust cross-signed intermediate certificate until 2021 #408
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sekrause on GitHub (Apr 17, 2019).
Let's Encrypt has announced that they will change the default intermediate certificate via ACME to their own ISRG Root X1 certificate on July 8, 2019. There is a high chance that a lot of somewhat older clients will fail with the new intermediate (Microsoft has only added the new root cert in 2018; overall support for the new root cert is a bit unclear to me, this compatibility list seems to be talking about the supported algorithms and not the supported root cert).
dehydratedcould provide a new option--legacy-chainthat forces the old intermediate certificate (the cross-signed cert from IdenTrust) for the forseeable future so that we can keep better support for legacy clients.This option should automatically switch to the new chain maybe 30 days before the old intermediate certificate expires, which would currently be early 2021.
@lukas2511 commented on GitHub (Apr 23, 2019):
I'm not entirely sure how this can be done, is it just a different certificate in the chain or is there some parameter for the api? If it's a different certificate that just has to be appended to the chain I'm not entirely sure that I'd want to implement this in dehydrated itself, this could easily be done with a simple hook-script.
@sekrause commented on GitHub (Apr 24, 2019):
As far as I know it indeed seems to be just using the old intermediate certificate (the old and new one use the same private key, so they are interchangeable). I'll look into the hook option.
@sekrause commented on GitHub (Apr 24, 2019):
So this is the hook I came up with. You have to save the old intermediate certificate from https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt into the file
oldchain.pemin the same directory as your hook script.This hook will then create a file
oldfullchain.pemin your certs directory which you can configure into nginx etc.After December 1st 2020 (a bit more than 3 months before the expiration date of the old intermediate certificate) this hook will automatically switch to the new intermediate certificate just in case you forget to update your configuration.
@jcharaoui commented on GitHub (Nov 15, 2019):
For the record, for anyone landing here like me wondering why we're still seeing IdenTrust cross-signed certs, from the previously-linked announcement: