Skip to content

Fix 'ca_certs' mTLS bundle docs.#2993

Open
hotaq wants to merge 1 commit intorwf2:masterfrom
hotaq:mtls-ca-certs-docs
Open

Fix 'ca_certs' mTLS bundle docs.#2993
hotaq wants to merge 1 commit intorwf2:masterfrom
hotaq:mtls-ca-certs-docs

Conversation

@hotaq
Copy link
Copy Markdown

@hotaq hotaq commented Mar 28, 2026

Summary

Clarify the mTLS ca_certs documentation to describe CA certificate bundles instead of only a single certificate chain.

What Changed

  • update the configuration guide to say tls.mutual.ca_certs accepts CA certificates
  • document that a file value may be a PEM bundle containing concatenated CA chains
  • align the rocket::mtls::MtlsConfig API docs with the guide wording

Validation

  • git diff --check
  • cargo +nightly-aarch64-apple-darwin doc -p rocket --features mtls --no-deps

Notes

The targeted rocket API docs for MtlsConfig were rendered and verified locally.
The full ./scripts/mk-docs.sh workflow remains blocked in this environment by missing MySQL client tooling required by a transitive dependency.

Closes #2938.

Clarify that tls.mutual.ca_certs accepts CA certificate bundles, including concatenated CA chains, and align the MtlsConfig API docs with the guide wording.

Closes rwf2#2938.
@hotaq hotaq marked this pull request as ready for review March 28, 2026 18:12
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.

[mTLS] ca_certs option seems to be a bundle, not necessarily a chain

1 participant