rabbitmq-server/deps/rabbitmq_prometheus/test
Luke Bakken ce86fb989e
Remove all usage of `cacerts` from configuration schemas
As mentioned in discussion #14426, the way that `cacerts` is handled by
cuttlefish schemas simply will not work if set.

If `cacerts` were set to a string value containing one X509 certificate,
it would eventually result in a crash because the `cacerts` ssl option
must be of [this type](https://www.erlang.org/doc/apps/ssl/ssl.html#t:client_option_cert/0):

```
{cacerts, CACerts :: [public_key:der_encoded()] | [public_key:combined_cert()]}
```

Neither of those are strings, of course.

This PR removes all use of `cacerts` in cuttlefish schemas. In addition,
it filters out `cacerts` and `certs_keys` from being JSON-encoded by an
HTTP API call to `/api/overview`. It _is_ technically possible to set
`cacerts` via `advanced.config`, so, if set, it would crash this API
call, as would `certs_keys`.
2025-10-01 08:14:14 -07:00
..
config_schema_SUITE_data Remove all usage of `cacerts` from configuration schemas 2025-10-01 08:14:14 -07:00
config_schema_SUITE.erl Bump (c) line year 2025-01-01 17:54:10 -05:00
rabbit_prometheus_http_SUITE.erl Remove flake in prometheus_http_SUITE (#14367) 2025-08-12 15:03:20 +02:00
rabbitmq_prometheus_collector_test_proxy.erl Close #10345. Add promtheus_rabbitmq_federation_collector. 2024-03-14 09:29:01 +01:00