Configure the server options
You can enable HTTPS by configuring the server options located at Setup > General. The server options allow you to:
- Configure the HTTP and HTTPS ports running on Web Help Desk
- Create a new keystore to store your SSL certificates
- Create a new keystore with an existing wildcard certificate in PFX format
- Restart Web Help Desk
After you configure the ports, Web Help Desk copies the settings to the whd.conf
file in the Web Help Desk home directory. If you decide to update the whd.conf
file on your own, the new settings are reflected in the user interface.
Using Keystore Options, you can create a custom Java Keystore (JKS) to share certificates for other applications. You can also create a new JKS or a Public Key Cryptography Standards #12 (PKCS12) keystore.
About HSTS
Beginning in version 12.7.4, Web Help Desk includes the HTTP Strict Transport Security (HSTS) web policy. After you download and import a signed certificate from a trusted Certificate Authority (CA), Web Help Desk forces a secure HTTPS connection with Transport Layer Security (TLS) between a supported web browser and the Web Help Desk server. This feature prevents unauthorized users from capturing data shared between the server and your clients, techs, and administrators.
Enable a listening port
Enable the listening port to listen for HTTP or HTTPS requests. When you are finished, configure the port number used to monitor the requests.
After you configure the port, include the port number in URLs that refer to Web Help Desk. For example, if you select port 8081, enter https://localhost:8081
in the web browser.
- Log in to Web Help Desk as an administrator.
- Click Setup > General > Server Options.
-
Select this option to listen for HTTP requests.
-
Enter an HTTP port number between 0 and 65535 to monitor the HTTP requests. For example, enter
8081
to process non-secure traffic from the Web Help Desk Console.The default selection is port 8081. -
Select this option to listen for HTTPS requests.
-
Enter an HTTPS port number between 0 and 65535 to monitor the HTTPS requests. For example, enter
8443
to process secure traffic from the Web Help Desk Console.The default selection is port 8443. - Click Save.
-
Click Restart to restart the Web Help Desk server.
Redirect HTTP requests to an HTTPS port
To ensure all incoming requests use a secure connection, enable Redirect HTTP requests to HTTPS. When enabled, all incoming requests redirect to a secure HTTPS port.
- Log in to Web Help Desk as an administrator.
- Click Setup > General > Server Options.
-
Select this option to ensure all incoming requests use a secure connection. When enabled, all incoming requests redirect to a secure HTTPS port.
- Click Save.
- Click Restart to restart the Web Help Desk server.
Enable a URL port for generated URL links
Web Help Desk generates internal URLs to link customer tickets to specific resources, such as an FAQ. For additional security, configure the generated URL links to access a secure port on the Web Help Desk server.
For example, you can configure a web server to route requests for default port 80 to the default Web Help Desk port 8081. As a result, all generated URL links use port 8081 to access the Web Help Desk server.
- Log in to Web Help Desk as an administrator.
- Click Setup > General > Server Options.
-
If HTTP is enabled, click Custom HTTP Port for Generated URL Links.
-
Enter an HTTP port number between 0 and 65535 for the generated URL link.
The default selection is port 8081.
-
If HTTPS is enabled, click Custom HTTPS Port for Generated URL Links.
-
Enter an HTTPS port number between 0 and 65535 for the generated URL link.
The default selection is port 8443.
- Click Save.
- Click Restart Web Help Desk.
Create a new keystore
By default, Web Help Desk creates a Java KeyStore (JKS) at <WebHelpDesk>/conf/keystore.jks
when you install the software. Using Keystore Options, you can create a custom JKS to share certificates for other applications or create a Public-Key Cryptography Standards #12 (PKCS12) KeyStore to store an Apple Push Notification Services (APNS) Certificate or a certificate created using OpenSSL.
-
Enter a path to the keystore file on the server. Include the file name in the path. For example, enter
keystore.jks
(for JKS certificates) orkeystore.p12
(for PKCS12 certificates). -
Click the Type drop-down menu and selected a keystore file format.
-
Enter a new password for the keystore file. The current password for the
keystore.jks
file ischangeit
. To use the existing password, leave the field empty. - Click Save.
-
Click Restart to restart the Web Help Desk server.
If you are running Web Help Desk in a cluster, restarting the application only impacts your current instance.
Create a new keystore with an existing wildcard certificate in PFX format
- Log in to the Web Help Desk server.
- Stop the Web Help Desk service.
-
Navigate to the WHD installation folder for your operating system.
Operating system Path macOS /Library/WebHelpDesk
Microsoft Windows Server \Program Files\WebHelpDesk
Red Hat/CentOS/Fedora Linux /usr/local/webhelpdesk
-
Execute:
portecle.bat
- Create a new keystore file.
- Click the File tab and select New Keystore.
- Select JKS (First option).
- Import the keypair.
- Click the Tools tab and select Import Keypair.
- Locate the PFX file.
- Enter
tomcat
as the alias, and click OK. - Enter your PFX password, and click OK.
- Save the file.
- Click the File tab and select Save Keystore.
- Enter your PFX password.
Name the file:
keystore.jks
- Set the certificate password.
- Right-click tomcat and select Set Password.
- Enter your PFX password, and click OK.
- Save your changes.
- Click File > Save Keystore As.
Save the file as:
keystore.jks
- In the
conf
folder, rename the oldkeystore.jks
file (if applicable). - Copy the new
keystore.jks
file to the conf folder. - In the conf folder, open the
whd.conf
file in a text editor (such as Notepad). -
In the file, locate the
KEYSTORE_PASSWORD
parameter, as shown below.# Keystore settings (for SSL connections)
KEYSTORE_PASSWORD=changeit
Make sure you change default password with the same password you set earlier on the keystore. - Replace the default password with the password you set earlier in the keystore.
- Save and close the
whd.conf
file. - Close the Web Help Desk installation folder.
- Restart Web Help Desk.