This is a follow-up on findings in PR #3030 (comment).
Currently we are only enabling TLS, if either a client certificate or a ca certificate is enabled: https://github.com/cortexproject/cortex/blob/master/pkg/util/tls/tls.go#L38
We should also support TLS without those flags, for example for
I propose:
- Adding a flag
tls-enable to manually enable TLS. The flag will be implicitly set to true by specifying any of the other TLS flags)
- Add test coverage for those operational modes