Skip to content

fix: ACM root CA and certificate chain formatting#9898

Open
dsp0x4 wants to merge 1 commit intogetmoto:masterfrom
dsp0x4:fix/acm-root-ca-and-chain-formatting
Open

fix: ACM root CA and certificate chain formatting#9898
dsp0x4 wants to merge 1 commit intogetmoto:masterfrom
dsp0x4:fix/acm-root-ca-and-chain-formatting

Conversation

@dsp0x4
Copy link

@dsp0x4 dsp0x4 commented Mar 22, 2026

Description

The AWS_ROOT_CA string has a leading whitespace on its last line, which breaks standard PEM formatting. In addition, the mocked ExportCertificate and GetCertificate API responses were lacking the trailing newline character from the CertificateChain value, unlike the real AWS API's.

Tests and linting have been validated.

Please let me know if there is any issue with my contribution. Thanks!

@codecov
Copy link

codecov bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.12%. Comparing base (ee7a095) to head (d302599).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9898   +/-   ##
=======================================
  Coverage   93.12%   93.12%           
=======================================
  Files        1314     1314           
  Lines      119430   119430           
=======================================
  Hits       111224   111224           
  Misses       8206     8206           
Flag Coverage Δ
servertests 29.21% <0.00%> (ø)
unittests 93.10% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant