Skip to main content
Content Starts Here Search Solutions

Solution Detail

Solution TitleHow to set up HTTPS in Switch?
Solution Number00000817
Solution Details
To use the Web Portal or Webhooks securely you can set up HTTPS.

To do so you will need a Certificate File, a Private Key file, and a password for the private key;

• Path to a certificate file in PEM format. (Although in PEM format, the extension can still be for example .cer , which is also a .pem (or rarely .der) formatted file with a different extension, one that is recognized by Windows Explorer as a certificate, which .pem is not.)
• Path to a private key file in PEM format.
• Password for a private key.
If you open the files in text editor certificate file should start with "----BEGIN CERTIFICATE---" and end with "---END CERTIFICATE---". Private key file should start with "---BEGIN PRIVATE KEY---" and end with "---END PRIVATE KEY----".

In Preferences > HTTPS Settings you will need to set both the certificate & the private key file as well as enter the password for the private key.

After doing so, it is now possible to switch the Web Portal, Webhooks or Remote Processing to use HTTPS instead of HTTP:

To change the Web Portal to use HTTPS, in Preferences > Web Services > change Protocol from HTTP to HTTPS. 

To use Webhooks in HTTPS, in Preferences > Web hooks > Enable HTTPS listener.

To use Remote Processing in HTTPS, in Preferences > Remote Processing > Enable HTTPS > Yes

Making changes in any of these settings will require a Switch Restart.
Does this solution help you answer your question?