Commit 1729745
committed
Reapply 19742 enforce TLS for OTel HTTP receiver in distributed setup
test_otel_with_dcd_in_distributed_setup configured the HTTP receiver
with
basicauth but encryption=False, which is now rejected by the API after
CMK-33249 (werk 19742). Enable encryption, extract the central site's
CA
certificate via a new ca_certificate_path fixture, and pass --cert-path
/
--site-name to the OTel HTTP client so it can establish the TLS session.
Fixes the cascade failure in test_automatic_host_removal caused by the
otel_password and DCD connections being left as pending changes when the
receiver creation raised.
This reverts commit 451b182.
Change-Id: I2d29ecb2b8e9c65a71f1afd6228c473bc7ec9f7e1 parent 14ddb80 commit 1729745
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments