Professional Documents
Culture Documents
Configuration
Stunnel needs to be installed on the same computer on which you run the Cascade DataHub. Here's how to install and configure Stunnel:
http://www.stunnel.org/download/binaries.html
2. Install Stunnel using the default installation options by executing the installer:
stunnel-n.nn-installer.exe
This will create an Stunnel entry in the Start menu of your Windows desktop.
3. Open your Windows Start menu, and from the Stunnel menu, select the Edit stunnel.conf option.
b. Remove the semicolon prior to client = yes and add the line verify = 0 so the file looks like this:
5. In stunnel.conf, delete all lines in the configuration file following the comment Service-level configuration. These
service configurations are simply examples.
6. In stunnel.conf, add a service configuration section for your email server. For example, the following lines use Google Mail's
SSL server for outgoing email:
; Service-level configuration
[pseudo-ssmtp]
1 of 3 11/15/19, 2:01 PM
6.9. How to Send SSL-encrypted Email https://opcdatahub.com/Docs/dhw-mailersslencry...
accept = localhost:25
connect = smtp.gmail.com:465
You will need to modify smtp.gmail.com:465 to reflect the host name and port of your secure SMTP server. Normally the port
will remain at 465, which is the standard port for SMTP over SSL.
10. Start Stunnel through the Windows Start menu. While testing, you can run Stunnel as a normal user. This will create an icon in
the system tray that will allow you to examine the Stunnel log as connections are made.
11. Test the tunnel by creating an email action and causing the email to be sent. If the Stunnel configuration is correct, the email will
be sent. If it fails, consult the Stunnel log and the DataHub Script Log.
12. When testing is complete, stop Stunnel using the icon in the Windows system tray.
13. Install Stunnel as a service by selecting Service install from the Stunnel menu of the Windows Start menu.
14. Start the Stunnel service by selecting Service start from the Stunnel menu of the Windows Start menu.
; Authentication stuff
;verify = 2
; Don't forget to c_rehash CApath
;CApath = certs
; It's often easier to use CAfile
;CAfile = certs.pem
2 of 3 11/15/19, 2:01 PM
6.9. How to Send SSL-encrypted Email https://opcdatahub.com/Docs/dhw-mailersslencry...
; Service-level configuration
[pseudo-ssmtp]
accept = localhost:25
connect = smtp.gmail.com:465
3 of 3 11/15/19, 2:01 PM