Skip to content

TLS: CA-file override for private CAs #13

Description

@sidick

Deferred from the issue #3 TLS implementation plan.

Add a `CAFILE`/`--cafile` escape hatch for brokers behind a private CA that isn't in AmiSSL's bundled trust store — a real scenario for self-hosted setups that want certificate verification without falling back to `-S`/`TLSINSECURE` (which skips verification entirely).

Additive, not structural: a new `mco_CAFile`/`tool_opts` field and an explicit `SSL_CTX_load_verify_locations()` call in `transport_amissl.c`/`transport_openssl.c`, once those exist (issue #3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttech-debtDeliberately deferred fix or design tradeoff from a past review

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions