Improve test proxy/mock fleet server to proxy HTTPS connections #4903
Labels
enhancement
New feature or request
Team:Elastic-Agent
Label for the Agent team
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
Testing
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:
--insecure
at install even when we have a correctly configured https proxy (no TLS validation would then happen) (see--insecure
flag should not be required during enroll/install because we have anhttp
Fleet URL #4896)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:
Conclusion:
testproxy needs to proxy HTTPS requests.
Once #5715 is completed, implement the chosen solution on testproxy
The text was updated successfully, but these errors were encountered: