|
@@ -488,7 +488,7 @@ void* ConnectWsServer(void* data)
|
|
|
ConnInfo.ietf_version_or_minus_one = -1;
|
|
|
|
|
|
if(use_ssl)
|
|
|
- ConnInfo.ssl_connection = LCCSCF_USE_SSL | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK;
|
|
|
+ ConnInfo.ssl_connection = LCCSCF_USE_SSL | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK | LCCSCF_ALLOW_EXPIRED;
|
|
|
|
|
|
wsi_client = lws_client_connect_via_info(&ConnInfo);
|
|
|
if (!wsi_client)
|
|
@@ -1364,6 +1364,7 @@ int main(void)
|
|
|
struct stat stats;
|
|
|
|
|
|
DEBUG_INFO("Module_OcppBackend task initialization...\n");
|
|
|
+
|
|
|
|
|
|
if(ProcessShareMemory()== FAIL)
|
|
|
{
|