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:
parent
f3899ddbcb
commit
cfcbe9ebd9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user