Install the SSL Server Certificate (Self-Signed)


  • This procedure is only for PCMM2G controllers.

The Secure Sockets Layer (SSL) certificate is a file stored on the PCMM2G that enables encrypted connections (HTTPS).

  • The SSL certificate is only applicable to PCMM2G.
  • By default, the PCMM2G contains a certificate generated by Kollmorgen.
  • The web browser shows a warning message when the connection is not secure.
    • To prevent this warning, the default certificate should be replaced by creating a new certificate in the Security tab.
    • This certificate must be downloaded and installed onto the PC connected to the PCMM2G.
    • This user-created certificate is assigned to the PCMM2G's IP address.
      • The certificate becomes invalid if this IP address is modified.

Certificate Expiration Period

  • The certificate expiration period is set by the user.
    • Kollmorgen recommends 365 days.
  • When the expiration period is over, the certificate becomes invalid.
  • The user must create and install a new certificate to prevent security warnings.

Installation Procedure

Assumptions

The PCMM2G is connected to the router or laptop.
See the PCMM2G Installation Manual.


  • The images in this procedure are from the Microsoft® Edge browser.
    Other browsers have different options.
    It's recommended to have only one instance of the web browser open for this procedure.

    • The self-signed SSL Certificate generated from this procedure can be used by the OPC UA Server to enable encrypted and authenticated data exchange between OPC UA clients and the PCMM2G controller.
    • See OPC UA - Create New Driver Configuration for setup instructions.

Procedure

  1. Open a web browser.
  2. Enter the controller's IP address for the URL.
    The default IP address for the PCMM2G is 192.168.0.101.
    A connection message appears. (Figure 1)
  3. Figure 1: Connection message

  4. Click the Advanced button.
    Additional information about the connection appears. (Figure 2)
  5. Figure 2: Connection message - Advanced information

  6. Click the Continue to (IP address) (unsafe) link.
    The Web server opens for the PCMM2G. (Figure 3)
  7. Figure 3: Not Secure PCMM2G

  8. Login to the PCMM2G.
    See User Authentication.
  9. Click the Settings tab.
  10. Click the Certificates tab. (Figure 4)
  11. Figure 4: Certificates tab

  12. In the Create SSL Server Certificate (Self-Signed) area:
    1. Enter the Organization Name.
    2. Enter the Expiration Period (days). (Figure 5)

      • Kollmorgen recommends 365 days.

      Figure 5: Create SSL Certificate area with content

    3. Click the Create Certificate button.
      A confirmation message appears. (Figure 6)
    4. Figure 6: Confirmation message

  13. Click OK to continue.
    The SSL certificate successfully created message appears. (Figure 7)
  14. Figure 7: SSL certificate successfully created message

  15. Click OK to reboot the controller.
    A rebooting message appears.
  16. Wait for the Disconnected message to appear. (Figure 8)
  17. Figure 8: Disconnected message

  18. Refresh the browser.
    The connection message reappears. (Figure 9)
  19. Figure 9: Connection message

  20. Click the Advanced button again.
    Additional information about the connection reappears. (Figure 10)
  21. Figure 10: Connection message - Advanced information

  22. Click the Continue to (IP address) (unsafe) link.
    The Web server opens for the PCMM2G.
    The PCMM2G shows it is Not secure. (Figure 11)
  23. Figure 11: Not secured PCMM2G

  24. Click the Not secure button and click the Your connection to this site isn't secure option. (Figure 12)
  25. Figure 12: Your connection to this site isn't secure option

    The certificate for this site is not valid message appears.

  26. In the message header, click the Show certificate button. (Figure 13)
  27. Figure 13: Show certificate button

    The Certificate Viewer dialog opens.
    The General tab is active. (Figure 14)

    Figure 14: Certificate Viewer dialog - General tab

  28. Click the Details tab. (Figure 15)
  29. Figure 15: Details tab with Export button.

  30. Click the Export button.
    The Save As dialog opens. (Figure 16)
  31. Figure 16: Save As dialog

  32. Select a folder to save the .crt file.
    This example procedure uses the Downloads folder. (Figure 17)
  33. Figure 17: Save As dialog with saved .crt file

  34. Click the Save button.
    The Save As dialog closes and the Details tab returns.
  35. Use Windows® Explorer to locate and select the .crt file.
    • The .crt file name is the PCMM2G's IP address.
      Example: 192.168.0.101.crt.
  36. Right-click the file and click the Install Certificate option. (Figure 18)
  37. Figure 18: Selected .crt file and the Install Certificate option

    The Certificate Import Wizard opens. (Figure 19)

    Figure 19: Certificate Import Wizard - Welcome page

  38. Accept the default on the Welcome page and click Next.
    The Certificate Store page opens.
  39. Select the Place all certificates in the following store option. (Figure 20)
  40. Figure 20: Certificate Import Wizard - Certificate Store page with selection

  41. Click the Browse... button.
    The Select Certificate Store dialog opens.
  42. Select the Trusted Root Certification Authorities certificate store. (Figure 21)
  43. Figure 21: Selected Certificate Store dialog - Trusted Root Certification Authorities

  44. Click OK to save the changes or selections and close the dialog box.
    The Certificate Store page returns and shows the selected Certificate store. (Figure 22)
  45. Figure 22: Certificate Import Wizard - Certificate Store page with selected Certificate store

  46. Click Next.
    The Completing the Certificate Import Wizard page opens. (Figure 23)
  47. Figure 23: Certificate Import Wizard - Completing the Certificate Import Wizard page

  48. Click Finish.
    A Security Warning dialog opens. (Figure 24)
  49. Figure 24: Security Warning dialog

  50. Click Yes to install this certificate.
    The Certificate Import Wizard - The import was successful message appears. (Figure 25)
  51. Figure 25: Certificate Import Wizard - The import was successful message

  52. Click OK to continue.
    The Certificate Import Wizard - Details tab returns.
  53. Close the wizard.
    The connected PCMM2G Web server page returns.
  54. Close the web browser.
  55. Verify ALL web browser windows are closed.
  56. Open a new web browser instance and use the URL to connect to the Web server.
    The PCMM2G shows it is secure.
  57. Click the Secure button. (Figure 26)
  58. Figure 26: Secure PCMM2G

  59. Click the Connection is secure option. (Figure 27)
  60. Figure 27: Connection is secure option

    The Certificate is secure message appears. (Figure 28)

    Figure 28: Certificate is secure message

  61. Click the Settings tab.
  62. Click the Certificates tab.
    The SSL Server Certificate Details area shows the Status and expiration date. (Figure 29)
  63. Figure 29: SSL Server Certificate Details area with certificate information

Troubleshooting

The webpage displays a warning:

  • KAS IDE warning: The identity of this web site or the integrity of this connection cannot be verified.
  • Microsoft Edge / Google Chrome warning: Your connection isn’t private.
  • Mozilla Firefox warning: Warning: Potential Security Risk Ahead.

Remedies

  • Verify the current certificate:
    • has been downloaded and installed onto the machine.
    • matches the IP address of the controller.
    • has not expired yet

The IP address of the PCMM2G does not match the IP address listed on the SSL certificate.

Remedies

  • Create, download, and install a new certificate with the new IP address.
  • Configure the IP address with a static IP address matching the certificate’s IP address using the rotary switch.
  • Reserve the certificate’s IP address for the PCMM2G using a router or server.