httpclient: add a configuration parameter to skip TLS certificate validation

In this mode, TLS is susceptible to man-in-the-middle attacks.
This should be used only for testing.
This commit is contained in:
Nicola Murino
2020-05-03 11:37:50 +02:00
parent 510a95bd6d
commit f369fdf6f2
5 changed files with 12 additions and 3 deletions

View File

@@ -68,6 +68,7 @@
},
"http": {
"timeout": 20,
"ca_certificates": []
"ca_certificates": [],
"skip_tls_verify": false
}
}