Tools
Apply SSL encryption to an external Web Help Desk PostgreSQL database
How to apply SSL encryption to an external Web Help Desk (WHD) PostgreSQL database.
First published date
Last published date
Overview
Product section
Resolution
- Set an SSL connection on the server.
See Secure TCP/IP Connections with SSL (© 2018 The PostgreSQL Global Development Group, available at https://www.postgresql.org/, obtained on 14 November 2018) for details. - Start the database server with SSL enabled.
- Configure the SSL connection in Web Help Desk.
- If you are setting up a new Web Help Desk installation or upgrade, configure the connection using the Web Help Desk Getting Started Wizard.
- If you are using an existing WHD installation, configure the connection by editing the
.whd.propertiesfile.
- Complete the procedure.
Configure the connection using the Getting Started Wizard
- In Web Help Desk Getting Started Wizard, select Use custom SQL database.
- In the Database Name field, enter:
whd?ssl=true
Configure the connection by editing the .whd.properties file
- Navigate to your
WebHelpDeskdirectory.
- Apple® macOS® :/Library/WebHelpDesk
- Microsoft® Windows®:\Program Files\WebHelpDesk
- Linux:/usr/local/webhelpdesk - Navigate to WebHelpDesk > conf.
- Open the
.whd.propertiesfile using a text editor (such as Notepad). - In the file, edit the following entries:
whd.db.port=5432whd.db.sid=whd.db.customUrl=whd.db.subprotocol=postgresqlwhd.db.password={DES}B/cdbZvGZws\whd.db.host=whd.db.useCustomUrl=NOwhd.db.name=whd?ssl=true# This setting is very important!whd.db.username=whdwhd.db.embedded=NO
Complete the procedure
- Import the appropriate certificates to:
/bin/jre/lib/security/cacerts- NOTE: You can use the Porteclé application located at
/bin/Portecle.jar. To run, usejava -jar Portecle.jar
- Stop and start Web Help Desk
- Verify the SSL connection.
If you are unable to connect:- Verify that the appropriate certificate was imported into cacerts.
- Verify the path to Web Help Desk.
- Start Web Help Desk in debug mode and send the log files to SolarWinds Support.
For more information about importing SSL certificates with PostgreSQL, see the following resources on the PostgreSQL website:
- SSL Certificates for PostgreSQL (©, 2018 projektfarm GmbH, available at https://www.howtoforge.com/, obtained on 14 November 2018)
- SSL support in JDBC (© 2018 The PostgreSQL Global Development Group, available at https://www.postgresql.org/, obtained on 14 November 2018)
*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.