azure-container-networking/server/tls
Jackie Luc de225e4d34
feat: add mTLS to CNS (#2751)
* feat: add UseMTLS config

* feat: add mTLS auth for CNS

* test: add testdata for mTLS tests

* chore: add logs on TLS config retrieval

* lint: in tests

* refactor: use CNS logger, not ACN logger

* refactor: add guards to mtlsRootCAsFromCertificate and unit tests

* lint: fix lint errors

* test: include HTTP listener tests for when TLS/mTLS is enabled

* chore: add log for stopping the TLS listener

* test: add test helper to create certificates for testing instead of using hardcoded pem file

* test: assert non-TLS service has no TLSSettings

* test: refactor TestMtlsRootCAsFromCertificate to table-based tests

* refactor: pull listener addresses from listener and remove redundant struct field for tls address
2024-06-07 22:26:49 +00:00
..
tls_certificate_retriever.go CI: Add golint-ci (#888) 2021-06-01 16:58:56 -07:00
tlscertificate_retriever.go feat: add mTLS to CNS (#2751) 2024-06-07 22:26:49 +00:00
tlscertificate_retriever_linux.go refactor: move from io/ioutil to io and os packages (#1096) 2021-11-17 16:31:42 -06:00
tlscertificate_retriever_linux_test.go refactor: move from io/ioutil to io and os packages (#1096) 2021-11-17 16:31:42 -06:00
tlscertificate_retriever_windows.go refactor: move from io/ioutil to io and os packages (#1096) 2021-11-17 16:31:42 -06:00
tlscertificate_retriever_windows_test.go refactor: move from io/ioutil to io and os packages (#1096) 2021-11-17 16:31:42 -06:00