How to Configure SSL/TLS SMTP Support Goliath Application Availability Monitor v3.0 October 2017 www.goliathtechnologies.com
Legal Notices How to Configure SSL/TLS SMTP Support in Goliath Application Availability Monitor Copyright 2016 Goliath Technologies Inc. All rights reserved. www.goliathtechnologies.com Goliath Technologies believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. GOLIATH TECHNOLOGIES MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Use, copying, and distribution of any Goliath Technologies software described in this publication requires an applicable software license. Linux is a registered trademark of Linus Torvalds. Windows is a registered trademark of Microsoft Corporation. VMware, ESX, ESXi, vcenter, and vsphere are either trademarks or registered trademarks of VMware Corporation. Citrix, Xen, XenServer, and XenCenter are either trademarks or registered trademarks of Citrix Systems Inc. All other trademarks and copyrights referred to are the property of their respective owners. 2
Table of Contents Overview... 4 I. Create a Local Service Account... 4 II. Download and Configure STunnel... 4 III. Configure SMTP in Goliath... 5 3
Overview This document will cover the configuration process for allowing Goliath Application Availability Monitor to use SSL/TLS for configuring email notifications with SMTP. I. Create a Local Service Account In order for the SSL/TLS wrapper to work, you ll need a user account that is logged into the Goliath Server at all times. You can use an existing account or create a new service account. Please keep in mind that if using an existing account, if that account is logged off email notifications will cease until the next time it is logged in. 1. Sign into the Goliath Server with the local or domain service account that will be used for enabling email notifications 2. Download the Auto Logon Utility. This utility will be used to enable auto-logons for this service account so that if for any reason the server is rebooted, the service account will be automatically signed back in. 3. Extract the Auto Logon Utility from the zip file and run the executable 4. Complete the form with the appropriate credentials for the service account a. If this account is local, enter localhost in the domain field II. Download and Configure STunnel Please follow the instructions below to download and configure STunnel. 1. Download and Install STunnel on the Goliath Server a. Please select the following options during the STunnel installation process: i. Install for anyone using this computer ii. You will be prompted for company location and server name iii. Choose the option to start STunnel after installation 2. Open Windows File Explorer and navigate to C:\Program Files (x86)\stunnel\config 3. Edit the file named stunnel.conf a. Remove all of the files content b. Add the following text: # Stunnel configuration file # GLOBAL OPTIONS client = yes output = stunnel-log.txt debug=4 taskbar=yes # SERVICE-LEVEL OPTIONS [SMTP Outgoing] protocol = smtp accept = 25 connect = Enter your SMTP Server:Outbound SS/TLS Port, for example pod51008.outlook.com:587 4. Save and file the document when finished 4
5. From the Start menu launch stunnel Service Configuration File Reload 6. From the start menu, run Shell:Startup, this will open the users startup folder 7. Minimize the folder and open a new File Explorer Window 8. Navigate to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\stunnel AllUsers 9. Copy the stunnel GUI Start file and paste it into the users startup folder III. Configure SMTP in Goliath Now that the STunnel has been installed and configured, please follow the below steps to configure email notification within Goliath: 1. In the technology, select the Settings Link in the top right-hand corner 2. In the User & Email section, choose the option for Email SMTP Setup 3. A pop-up window will open, on this page you will define the following: a. In the first text box enter localhost:25 b. In the second text box, enter the email address that will be sending notifications. This will need to be an alias or a real user account. c. Select the check box for SMTP Authorization d. In the final two text boxes, please provide credentials for the account used in step B 4. Click ok to test the SMTP connection 5. Once the SMTP connection succeeds, you can now open any rule and enable email notifications. 5