diff options
author | Timo <6674623+underhood@users.noreply.github.com> | 2020-03-26 16:29:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 16:29:15 +0100 |
commit | 87b39f90cd51e22c59adf8c9cde4534cb6b2dca4 (patch) | |
tree | 5cc9e4c42185ecbe0f96a82b60ce7e7be38452ef /aclk | |
parent | 18d6fba25a1f1fdb04c09b98abe52afa3c52cd1c (diff) |
Allow insecure SSL in the testing environment (#8489)
Diffstat (limited to 'aclk')
-rw-r--r-- | aclk/aclk_lws_https_client.c | 2 | ||||
-rw-r--r-- | aclk/aclk_lws_wss_client.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/aclk/aclk_lws_https_client.c b/aclk/aclk_lws_https_client.c index 2e125bf8cd..500292ac5d 100644 --- a/aclk/aclk_lws_https_client.c +++ b/aclk/aclk_lws_https_client.c @@ -187,7 +187,7 @@ int aclk_send_https_request(char *method, char *host, char *port, char *url, cha i.context = context; #ifdef ACLK_SSL_ALLOW_SELF_SIGNED - i.ssl_connection = LCCSCF_USE_SSL | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK; + i.ssl_connection = LCCSCF_USE_SSL | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK | LCCSCF_ALLOW_INSECURE; info("Disabling SSL certificate checks"); #else i.ssl_connection = LCCSCF_USE_SSL; diff --git a/aclk/aclk_lws_wss_client.c b/aclk/aclk_lws_wss_client.c index a5ed3d5235..168d866b32 100644 --- a/aclk/aclk_lws_wss_client.c +++ b/aclk/aclk_lws_wss_client.c @@ -299,7 +299,7 @@ int aclk_lws_wss_connect(char *host, int port) aclk_wss_set_proxy(vhost); #ifdef ACLK_SSL_ALLOW_SELF_SIGNED - i.ssl_connection = LCCSCF_USE_SSL | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK; + i.ssl_connection = LCCSCF_USE_SSL | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK | LCCSCF_ALLOW_INSECURE; info("Disabling SSL certificate checks"); #else i.ssl_connection = LCCSCF_USE_SSL; |