elastic / elastic-agent

Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
126 stars 135 forks source link

Improve test proxy/mock fleet server to support further elastic-agent TLS tests #4903

Open pchila opened 3 months ago

pchila commented 3 months ago

During development of #4770 it was not possible to test a scenario where elastic-agent installs and enrolls to an http mock fleet server using TLS going through an https proxy because:

The testcase is TLSEnrollProxy-mTLSProxyInThePolicy where we try to test this scenario.

In order to test such scenario we would need at least one of 2 things:

elasticmachine commented 3 months ago

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

elasticmachine commented 3 months ago

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

AndersonQ commented 3 months ago

I might be worth looking at how Caddyserver does that as well