nixosTests.mitmproxy: fix certificate location passed to curl (#504385)
This commit is contained in:
@@ -86,7 +86,7 @@ in
|
||||
''
|
||||
def curl(command: str, proxy: bool = False):
|
||||
if proxy:
|
||||
command = "curl --proxy 127.0.0.1:8080 --cacert ~/.mitmproxy/mitmproxy-ca-cert.pem " + command
|
||||
command = "curl --proxy 127.0.0.1:8080 --cacert ~/.mitmproxy/mitmproxy-ca.pem " + command
|
||||
else:
|
||||
command = "curl " + command
|
||||
return machine.succeed(command)
|
||||
|
||||
Reference in New Issue
Block a user