Use the search and browse feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Search Solutions Results By: View All Solutions

Kepware Knowledge Base: Solution


How Do I Configure a Self-Signed Certificate for the IoT Gateway?


Last Update: 11/12/2018
The IoT Gateway Plug-in supports the use of self-signed certificates with the MQTT and REST clients. These agents use the Microsoft Windows, computer-level, trusted certificate store to keep track of these certificates. By using this store, most recognized certificate authorities are already approved. To import a certificate, use the below instructions.

Note: More complete instructions are available in the product manual and online help file.

Command Line Steps
  1. From the Start menu, select All Programs.
  2. Choose Accessories then right-click on Command Prompt and select Run as Administrator from the menu.
  3. In the command prompt window, navigate to the location of the certificate.
  4. Enter the command: certutil -addstore "Root" <CertificateName> where the <CertificateName> is the name of the .cer or .crt file.
  5. Press Enter to execute the command.
  6. Verify the import is complete when several lines of output appear ending with: CertUtil: -addstore command completed successfully.
Windows Console Steps
  1. From the Start menu, select All Programs.
  2. Choose Accessories| Run.
  3. In the Run box, type "mmc" and click OK.
  4. In the console window, choose File | Add/Remove Snap-in
  5. Select Certificates on the left and click Add.
  6. Select Computer account and then click Next >.
  7. Select Local Computer and click Finish.
  8. Back in the Add or Remove Snap-ins window, click OK.
  9. Verify there is a Certificates (Local Computer) listing in the Console window.
  10. Expand the Certificates listing, then expand Trusted Root Certification Authorities.
  11. Click on Certificates and verify a listing of all the Root certificates appears.
  12. Locate the self-signed certificate to import for the MQTT and REST client.
  13. Right-click on Certificates and select All Tasks | Import
  14. In the Certificate Import wizard, click Next on the initial page.
  15. Click Browse... to locate and select the certificate to import and click Next >.
  16. Verify that Place all Certificates in the following store is selected and that store is the Trusted Root Certification Authorities and click Next >.
  17. On the final page of the wizard, click Finish.
  18. In the a pop-up message that the import was successful, click OK.
  19. Close the Console window.
Related Products
IoT Gateway, KEPServerEX