mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
tests: Never verify TLS certfs for LDAP
This commit is contained in:
parent
17c4e157e7
commit
e27b3ff9d1
@ -904,7 +904,7 @@ def test_cli_setup_authority():
|
|||||||
admintoken = "Basic YWRtaW5ib3Q6UzRsNGs0bDQ="
|
admintoken = "Basic YWRtaW5ib3Q6UzRsNGs0bDQ="
|
||||||
|
|
||||||
with open("/etc/ldap/ldap.conf", "w") as fh:
|
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"
|
# 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/",
|
r = requests.get("http://ca.example.lan/api/",
|
||||||
|
Loading…
Reference in New Issue
Block a user