REST API - certificates
Configure and troubleshoot REST API client and server certificate trust.
The REST API uses TLS with two independent trust checks. Understanding both is the fastest way to diagnose a connection that will not establish.
The client must trust the server. If it does not, Command Centre never receives a connection and raises no alarm. The problem is entirely client-side.
The server must trust the client. If "Do not require pinned client certificates" is not ticked and Command Centre cannot match a REST Client item, it raises an "invalid client certificate" alarm.
Because the two checks are independent, work through them in order: confirm the client trusts the server first, then confirm the server trusts the client.
The two certificates
Client certificate
Lets the server trust the caller. Its thumbprint is pinned on the REST Client item.
Server certificate
Lets the client trust Command Centre. Imported into Command Centre's Web Services.
A custom server certificate is not required for experimental development, but requiring pinned client certificates is the server's best protection against network attackers in production.
🔗 Related
REST API - Creating the Client Certificate. Self-signed client certificate via PowerShell.
REST API - Creating and Importing REST API Certificates. Create, export, and import the server certificate.
REST API - Connection. Diagnose a connection using the alarms above.
Last updated
Was this helpful?
