MINOR: httpclient: set verify none on the https server

There is currently no way to specify the CA to verify from the
httpclient API. Sets the verify to none so we can still do https
request.
This commit is contained in:
William Lallemand 2021-08-24 17:15:58 +02:00
parent f3899ddbcb
commit cfcbe9ebd9

View File

@ -707,6 +707,8 @@ static int httpclient_init()
if (!httpclient_srv_ssl->id)
goto err;
httpclient_srv_ssl->ssl_ctx.verify = SSL_SOCK_VERIFY_NONE;
/* add the proxy in the proxy list only if everything successed */
httpclient_proxy->next = proxies_list;
proxies_list = httpclient_proxy;