Adding TLS Certificates to REST Client
The following procedure describes how to add a client certificate in Postman, the third-party REST tool. This is required when using Mutual TLS (mTLS) authentication with the device's REST API.
|
➢
|
To add client certificate in Postman: |
|
1.
|
Start your Postman application. |
|
2.
|
On the toolbar, click the grid icon, and then from the drop-down menu, choose Settings. |
|
3.
|
Select the Certificates tab. |
|
4.
|
Click Add Certificates, and then do the following: |
|
a.
|
In the 'Host' field, type the device's IP address (or hostname). |
|
b.
|
Select the CRT file and the Key file for your certificate. |
|
5.
|
For your URL endpoint: |
|
a.
|
Make sure that the URL endpoint is "https" (not "http"). |
|
b.
|
Click the Authorization tab, and then from the 'Auth Type' drop-down list, select No Auth. |
Once you've add the trusted root certificate to the device, your REST requests through Postman are seamless, eliminating any need to provide username and password.