summaryrefslogtreecommitdiff
path: root/src/migration-scripts/https
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-08-10 18:32:47 +0000
committerChristian Breunig <christian@breunig.cc>2026-08-10 21:05:13 +0200
commit5faebdb613ae83947f0428951f6e68d6b66da7db (patch)
treec6b5812abb287f30e6a452f2866fbd37066051cb /src/migration-scripts/https
parent0cfdd6a869772defbd6ca7778273bdab4b85dfe7 (diff)
downloadvyos-1x-5faebdb613ae83947f0428951f6e68d6b66da7db.tar.gz
vyos-1x-5faebdb613ae83947f0428951f6e68d6b66da7db.zip
pki: T9135: preserve every certificate in an ACME chain, not just the first
certbot's chain.pem commonly holds more than one certificate - e.g. the immediate intermediate plus its own issuing root - but the synthetic CA entry built from it only ever kept the first, silently dropping the rest before find_chain() ever saw them. This left a shorter chain than certbot itself actually has, e.g. requiring a root to also be configured manually to reach the same result certbot's own data already provides. Parse every certificate block in chain.pem and emit one synthetic entry per certificate, numbering entries after the first so each is still its own addressable, non-redundant, non-settable object exactly like before.
Diffstat (limited to 'src/migration-scripts/https')
0 files changed, 0 insertions, 0 deletions