# Set Up HTTPS Connection with Custom Certificates

Note: This procedure is only recommended for advanced users using their existing certificates.

If you are using your own Certificate Authority (CA) on your network and your own custom certificates to validate secure connections, then perform the following steps to set up the HTTPS connection for your job's WebHMI with your own private and public keys.

1. Launch In-Sight Vision Suite, and select the In-Sight device you wish to configure on the In-Sight® Device Pane. The list of Utilities applicable to the selected vision system should then appear at the bottom of the window. Click the Secure Connection button to launch the application.

   The Configure Secure Connection dialog appears.

2. Check the Encypt HMI Communication checkbox to enable the available settings, then click the Use my own certificate... link at the bottom left corner of the dialog. A confirmation dialog then pops up.

3. If you have your own custom private and public certificate keys, click Yes to continue. The dialog then appears as shown below.

4. Use the Browse (...) button to specify your public and private CA keys in the Certificate - Public Key and Certificate - Private Key textboxes, respectively.
5. Once both keys are specified, click Save and Restart to apply the changes, install the certificates, and restart the In-Sight device.

While the selected certificates are being applied, In-Sight Vision Suite checks if they are signed for the In-Sight device currently configured. If the selected certificates are meant for another device, or if you are using wildcard certificates, then the following dialog appears after clicking Save and Restart:

If this warning appears, and you use certificates that are meant for another device, Cognex recommends canceling the configuration procedure by clicking No, and performing the above procedure with certificates that are created specifically for the device being configured. If you use wildcard certificates, you may click Yes and configure the certificate at your discretion.

Note:

The storage location of the authentication information depends on the product type:

- In case of using In-Sight ViDi PC, the CA information is stored in an encrypted format on the PC running the In-Sight ViDi PC application.
- In case of using an In-Sight vision system (such as a D900 series vision system), the CA information is stored on the In-Sight device.

Tip: For security purposes, do not expose your CA private and public keys and make sure that they are stored in a secure location.