Tools
Enable SSL encryption for a MySQL database
This article describes how to set up SSL encryption in a MySQL database for Web Help Desk.
First published date
Last published date
Overview
Product section
Resolution
Download and install the JDBC driver
- Download the latest JDBC driver from the MySQL™ website.
- Copy the JDBC driver into one of the following extension directories.
- 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®:
- Set the SSL connection for the server.
See Using Secure Connections on the MySQL website for details. - Start the database server and enable SSL.
Enable the JDBC driver in a new Web Help Desk installation
- Download the Web Help Desk installer.
- Log in to the Web Help Desk server as an administrator.
- 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 database (advanced).
- In the Database Name field, enter:
whd?ssl=true
- Complete the wizard.
The JDBC driver is enabled.
Enable the JDBC driver in an existing Web Help Desk installation
- Log in to the Web Help Desk server as an administrator.
- Navigate to 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:
- Open the
confdirectory. - Open the
.whd.propertiesfile in a text editor (such as Notepad). - Edit the following properties:
whd.db.port=3306whd.db.sid=whd.db.customUrl=whd.db.subprotocol=mysqlwhd.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
- Save and close the file.
- Locate the Portecle application at:
<WebHelpDesk>/bin/Portecle.jar - Using Portecle, import the appropriate certificates to:
<WebHelpDesk>/bin/jre/lib/security/cacerts - Restart Web Help Desk.
The JDBC driver is enabled.
If you are unable to connect to the MySQL 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.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.