From e27b3ff9d1df90f0a93a63a740f87393fe66962b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 8 May 2017 10:27:27 +0000 Subject: [PATCH] tests: Never verify TLS certfs for LDAP --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 30d2a7d..37fdab8 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -904,7 +904,7 @@ def test_cli_setup_authority(): admintoken = "Basic YWRtaW5ib3Q6UzRsNGs0bDQ=" with open("/etc/ldap/ldap.conf", "w") as fh: - fh.write("TLS_REQCERT allow") # TODO: Correct way + fh.write("TLS_REQCERT never\n") # TODO: Correct way # curl http://ca.example.lan/api/ -u adminbot:S4l4k4l4 -H "User-agent: Android" -H "Referer: http://ca.example.lan" r = requests.get("http://ca.example.lan/api/",