Tools
Enable SSL encryption for a Microsoft SQL Server database
This article describes how to set up SSL encryption on a Microsoft SQL Server database for Web Help Desk.
First published date
Last published date
Overview
Follow the steps in this article to set up SSL encryption on a Microsoft® SQL Server® database connected to Web Help Desk.
Product section
Resolution
Set up the SSL connection
- Follow the steps in Encrypting Connections to SQL Server (© Microsoft 2018, available at https://www.microsoft.com/en-us/, obtained on November 20, 2018) to set up the SSL connection on the SQL Server database.
When the
ForceEncryptionoption for the database engine is set toYes, all client/server communication is encrypted. This option denies access to clients that cannot support encryption. - Start the database server with SSL enabled.
Enable SSL encryption for a new Web Help Desk installation
If you are upgrading Web Help Desk or installing the software for the first time, perform the following steps:
- Download and run the Web Help Desk installer.
- Follow the steps in the Getting Started Wizard.
- In the Select your Web Help Desk database window, add the database information.
- Select Use custom SQL Server database (advanced).
- In the Database Name field, enter:
whd?ssl=true
- Complete the wizard.SSL is enabled.
Enable SSL encryption for an existing Web Help Desk installation
If you are configuring SSL encryption for an existing WHD installation, perform the following steps:
- Navigate to the Web Help Desk home directory.
- Microsoft® Windows®:
\Program Files\WebHelpDesk\bin\jre\lib\ext - Apple® OS X:
/Library/Java/Extensions - Linux:
/usr/local/webhelpdesk/bin/jre/lib/ext
- Microsoft® Windows®:
- Open the
confdirectory. - Open the
.whd.propertiesfile in a text editor. - Edit the following properties:
whd.db.port=1433whd.db.sid=whd.db.customUrl=whd.db.subprotocol=microsoftwhd.db.password={DES}B/cdbZvGZws\=whd.db.host=<server_name>whd.db.useCustomUrl=NOwhd.db.name=whd:encrypt=true #whd.db.username=whdwhd.db.embedded=NO
- Open the Web Help Desk home directory.
- Apple® OS X:
/Library/WebHelpDesk - Microsoft® Windows®:
\Program Files\WebHelpDesk - Red Hat®/CentOS™/Fedora Linux:
/usr/local/webhelpdesk
- Apple® OS X:
- Locate the Portecle application at:
<WebHelpDesk>/bin/Portecle.jar - Using Portecle, import the certificates to the following location:
<WebHelpDesk>/bin/jre/lib/security/cacerts/<webhelpdesk_home> - Start Web Help Desk.
If you are unable to connect to the SQL Server database, ensure that:
- The appropriate certificate was imported into the
cacertsdirectory. - The path to the Web Help Desk home directory is correct.
If you still cannot connect to the SQL Server database, collect the log files and contact SolarWinds Support.