mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +00:00 
			
		
		
		
	tests: Never verify TLS certfs for LDAP
This commit is contained in:
		| @@ -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/", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user