Local certificates problem

0
Hi all, Probably something really stupid but appreciate any help: I have installed a rest certificate on my chrome browser and the node and they both seperately work fine. When i have tried to install it on my desktop modeller, i come up with the following issues ( I have tried installing it from the certificate tab and the custom tab - combined and seperately)  This is the error at runtime: Mendix.Modeler.M2EEConnector.M2EEException: Failed to parse response text for request <{"action":"update_configuration","params":{"RuntimePath":"C:\\Program Files\\Mendix\\7.3.0\\runtime","BasePath":"C:\\Users\\elqas\\Documents\\Mendix\\Service Improvement Panel-main\\deployment","DTAPMode":"D","DatabaseName":"SIP2017","DatabasePassword":"1","DatabaseType":"POSTGRESQL","DatabaseHost":"localhost:5432","DatabaseUserName":"postgres","DatabaseUseIntegratedSecurity":"False","ApplicationRootUrl":"http://localhost:8080/","ClientCertificates":"C:\\Users\\elqas\\Desktop\\PestControlCerts\\PestControl.brighton-hove.gov.uk.pfx","ClientCertificatePasswords":"*****","ClientCertificateUsages":"{ \"mdwebtest.brighton-hove.gov.uk\": \"C:\\Users\\elqas\\Desktop\\PestControlCerts\\PestControl.brighton-hove.gov.uk.pfx\" }","ScheduledEventExecution":"None","MicroflowConstants":{"AppCloudServices.LogNode":"AppCloudServices","AppCloudServices.InviteAPI_Location":"https://lama.mendixcloud.com/ws/InviteAPI/1/soap1","AppCloudServices.PermissionsAPI_Location":"https://lama.mendixcloud.com/ws/PermissionsAPI/1/soap1","AppCloudServices.EnvironmentPassword":"<Password will be generated by the Mendix AppCloud>","AppCloudServices.OpenIdEnabled":"False","AppCloudServices.EnvironmentUUID":"<EnvironmentUUID will be generated by the Mendix AppCloud>","AppCloudServices.OpenIdProvider":"https://mxid2.mendixcloud.com/mxid2/discover","AppCloudServices.ProfileServiceLocation":"https://profile.mendixcloud.com/ws/ProfileService/3/soap1"}}}>. Response text:  ---> Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0.    at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)    at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)    at Mendix.Modeler.M2EEConnector.M2EERequest.Execute(Int32 timeout) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.M2EEConnector\M2EERequest.cs:line 67    --- End of inner exception stack trace ---    at Mendix.Modeler.M2EEConnector.M2EERequest.Execute(Int32 timeout) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.M2EEConnector\M2EERequest.cs:line 81    at Mendix.Modeler.M2EEConnector.M2EEClient.UpdateConfiguration(Dictionary`2 config) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.M2EEConnector\M2EEClient.cs:line 144    at Mendix.Modeler.M2EEConnector.StartupManager.PerformStartup(StartupInfo info, IM2EEClient client) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.M2EEConnector\StartupManager.cs:line 48    at Mendix.Modeler.M2EEConnector.RuntimeController.Start(StartupInfo info, LogLevel autoSubscribeLogLevel) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.M2EEConnector\RuntimeController.cs:line 133    at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Utility\BackgroundUtil.cs:line 28    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)   current custom set up: on node which works fine:   any help would be appreciated
asked
1 answers
0

You need to make sure your ClientCertificateUsages have the ‘\’ character doubled. This is because a single ‘\’ is an escape character, but we don’t want this.

You need something like 

{“mdwebtest.brighton-hove.gov.uk”: “C:\\Users\\elqas\\Desktop\\PestControlCerts\\PestControl.brighton-hove.gov.uk.pfx”}
 

answered