diff --git a/meshcore/agentcore.c b/meshcore/agentcore.c index a82d4f7..1105079 100644 --- a/meshcore/agentcore.c +++ b/meshcore/agentcore.c @@ -4562,6 +4562,11 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char ** } } paramLen -= ixr; + +#ifdef WIN32 + if (agentHost->noCertStore == 0) { agentHost->noCertStore = ILibSimpleDataStore_Get(agentHost->masterDb, "nocertstore", NULL, 0); } +#endif + if (fetchstate != 0) { duk_context *ctxx = ILibDuktape_ScriptContainer_InitializeJavaScriptEngineEx(0, 0, agentHost->chain, NULL, NULL, agentHost->exePath, NULL, MeshAgent_AgentInstallerCTX_Finalizer, agentHost->chain);