cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

How to implement a secure connection (client to server) using a local certificate file in Java SDK?

adikumar
7-Bedrock

How to implement a secure connection (client to server) using a local certificate file in Java SDK?

How to implement a secure connection (client to server) using a local certificate file in Java SDK?

For example in EMS we can do in the following manner:

"certificates": {

"validate": true, // Boolean. Set to false to turn off certificate validation. Default = true.

"client_cert": "cert.cer", // The local certificate file is given here.

  }

}

2 REPLIES 2

Does anybody have any answer

Hi All,

I used below two methods of the ClientConfigurator class in my ConnectedThingClient class:

  1. config.setSubjectCN("thingworx.com");
  2. config.setSubjectOU("ThingWorx");

Using the above methods, the client can check various certificate fields against pre-configured values in order to validate them


Thanks,

Aditya

Announcements


Top Tags