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:
"validate": true, // Boolean. Set to false to turn off certificate validation. Default = true.
"client_cert": "cert.cer", // The local certificate file is given here.
Does anybody have any answer
I used below two methods of the ClientConfigurator class in my ConnectedThingClient class:
Using the above methods, the client can check various certificate fields against pre-configured values in order to validate them