mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 20:06:30 +00:00
Removed '-verify 0' - to disable verification, exclude -verify entirely
This commit is contained in:
parent
1374ee5b9e
commit
58a02f107e
@ -89,5 +89,5 @@ def test_web5_dhparam_is_used(docker_compose):
|
|||||||
|
|
||||||
host = "%s:443" % sut_container.attrs["NetworkSettings"]["IPAddress"]
|
host = "%s:443" % sut_container.attrs["NetworkSettings"]["IPAddress"]
|
||||||
r = subprocess.check_output(
|
r = subprocess.check_output(
|
||||||
"echo '' | openssl s_client -verify 0 -connect %s -cipher 'EDH' | grep 'Server Temp Key'" % host, shell=True)
|
"echo '' | openssl s_client -connect %s -cipher 'EDH' | grep 'Server Temp Key'" % host, shell=True)
|
||||||
assert "Server Temp Key: DH, 2048 bits\n" == r
|
assert "Server Temp Key: DH, 2048 bits\n" == r
|
||||||
|
Loading…
Reference in New Issue
Block a user