Skip to content

Bug fix: duplicate leaf cert#39

Merged
indrora merged 3 commits into
release-3.0from
ab#85608
Jun 17, 2026
Merged

Bug fix: duplicate leaf cert#39
indrora merged 3 commits into
release-3.0from
ab#85608

Conversation

@joevanwanzeeleKF

Copy link
Copy Markdown
Contributor
  • Bug Fix - On Management Add/renewal jobs, the leaf certificate is no longer included in the CertificateChain sent to ACM. BouncyCastle's GetCertificateChain returns the leaf as the first element, and it was already sent separately as the certificate body, causing the leaf to appear twice within the published certificate's chain. When the certificate has no intermediates, the chain is now omitted entirely rather than sent empty.
  • Added unit tests
  • improved determination of certificate ARNs

joevanwanzeeleKF and others added 3 commits June 10, 2026 14:17
…e leaf was showing up twice in AWS. Added unit tests and improved determination of whether a string is a cert ARN.
@indrora indrora merged commit ef748b4 into release-3.0 Jun 17, 2026
15 of 16 checks passed
indrora added a commit that referenced this pull request Jun 17, 2026
* ignoring license header file

* added the .skip(1) on the chain results from BC to address issue where leaf was showing up twice in AWS.  Added unit tests and improved determination of whether a string is a cert ARN.

* Update generated docs

---------

Co-authored-by: Joe VanWanzeele <76071503+joevanwanzeeleKF@users.noreply.github.com>
Co-authored-by: Keyfactor <keyfactor@keyfactor.github.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants