使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


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


Last Update: 2018/11/12
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