I need help on TLS server authentication. I'm developing an AMT management consolefrom scratch. AMT remote configuration already works but I can't create a watchdog on the device (in Enterprise mode). All API calls returns an error 22 which means that I can't establish a connection with the device. I've encountered this error before in SmallBusiness mode when my password, username or target IP is wrong. How exactly should I handle server authentication? The root certificate of the certifcate chain I sent to the device is already trusted. Aside from username and password what other parameter should I use in order to communicate with AMT using TLS? I've read that I need to specify the certificate name, but I don't know which certficate in the chain to use.
I hope somebody out there can help.
target format used: "https://xxx.xxx.xxx.xxx:16993/servicename"