We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4e06e4 + 0fb960e commit 8ea4b9dCopy full SHA for 8ea4b9d
libraries/SocketWrapper/src/utility/https_request.h
@@ -61,10 +61,11 @@ class HttpsRequest : public HttpRequestBase {
61
62
_socket = new TLSSocket();
63
((TLSSocket*)_socket)->open(network);
64
+ ((TLSSocket*)_socket)->set_hostname(_parsed_url->host());
65
if (ssl_ca_pem)
66
((TLSSocket*)_socket)->set_root_ca_cert(ssl_ca_pem);
67
else
- ((TLSSocket*)_socket)->set_root_ca_cert_path("/wlan/");
68
+ ((TLSSocket*)_socket)->set_root_ca_cert_path("/wlan");
69
_we_created_socket = true;
70
}
71
0 commit comments