Difference between revisions of "Upgrading Stunnel to the Latest Version"
| Line 1: | Line 1: | ||
| − | '''DO NOT UPGRADE STUNNEL''' until you have been contacted by Vital Soft or Fiserv. | + | '''DO NOT UPGRADE STUNNEL''' until you have been contacted by Vital Soft or Fiserv and told that it is ok to proceed. |
=== Prepare for Stunnel Upgrade === | === Prepare for Stunnel Upgrade === | ||
* Please note that installation does require a reboot of your PC / workstation. | * Please note that installation does require a reboot of your PC / workstation. | ||
| + | * You may need Admin level access to your PC to complete the install. | ||
* Save copies of the following 3 files - you will need them later in the upgrade process. | * Save copies of the following 3 files - you will need them later in the upgrade process. | ||
<pre> | <pre> | ||
| Line 30: | Line 31: | ||
=== Complete the Installation === | === Complete the Installation === | ||
| − | * Copy the | + | * Copy the the saved certificate files from step 1 (certs.pem, stunnel.pem) into the following directory: |
<pre> | <pre> | ||
C:\Program Files (x86)\stunnel\conf | C:\Program Files (x86)\stunnel\conf | ||
| + | </pre> | ||
| + | * Edit the stunnel configuration file. The file is located here: | ||
| + | <pre> | ||
| + | C:\Program Files (x86)\stunnel\conf\stunnel.conf | ||
| + | </pre> | ||
| + | * Add the following lines (which can be copied from the stunnel.conf file that was saved in step 1): | ||
| + | <pre> | ||
| + | CAfile = certs.pem | ||
| + | cert = stunnel.pem | ||
| + | |||
| + | [VisImage Linux Prod] | ||
| + | ; Prod connection to Linux | ||
| + | client = yes | ||
| + | accept = 30503 | ||
| + | connect = visimage.fiservapps.com:8004 | ||
| + | |||
| + | [VisImage Linux Cert] | ||
| + | ; Cert connection to Linux | ||
| + | client = yes | ||
| + | accept = 30504 | ||
| + | connect = visimage-cert.fiservapps.com:8004 | ||
</pre> | </pre> | ||
* Install the stunnel '''service''' using Powershell. If you installed stunnel for all users on the computer, you may need to run Powershell as the Administrator. | * Install the stunnel '''service''' using Powershell. If you installed stunnel for all users on the computer, you may need to run Powershell as the Administrator. | ||
Revision as of 19:27, 24 June 2025
DO NOT UPGRADE STUNNEL until you have been contacted by Vital Soft or Fiserv and told that it is ok to proceed.
Contents
Prepare for Stunnel Upgrade
- Please note that installation does require a reboot of your PC / workstation.
- You may need Admin level access to your PC to complete the install.
- Save copies of the following 3 files - you will need them later in the upgrade process.
C:\Program Files\stunnel\certs.pem C:\Program Files\stunnel\stunnel.pem C:\Program Files\stunnel\stunnel.conf
- Download the latest version of stunnel here.
Uninstall the Previous Version of Stunnel
- Stop the Stunnel service
Run the Windows Services program, locate the stunnel service and click Stop.
- Uninstall the currently installed version (5.01) of stunnel by running the following program.
C:\Program Files\stunnel\uninstall.exe
- Verify that the
C:\Program Files\stunneldirectory was removed. If it remains, use File Manager to delete it.
Install Stunnel
- Install the most recent version of stunnel (5.75 in June 2025.)
- Choose the options that are appropriate for your organization.
- By default, stunnel will be installed in
C:\Program Files (x86)\ - During installation you will be asked questions to create a default certificate. This certificate will not be used, so you can enter whatever values you choose or just press Enter on all of the prompts.
- Do NOT run stunnel at the end of installation.
Complete the Installation
- Copy the the saved certificate files from step 1 (certs.pem, stunnel.pem) into the following directory:
C:\Program Files (x86)\stunnel\conf
- Edit the stunnel configuration file. The file is located here:
C:\Program Files (x86)\stunnel\conf\stunnel.conf
- Add the following lines (which can be copied from the stunnel.conf file that was saved in step 1):
CAfile = certs.pem cert = stunnel.pem [VisImage Linux Prod] ; Prod connection to Linux client = yes accept = 30503 connect = visimage.fiservapps.com:8004 [VisImage Linux Cert] ; Cert connection to Linux client = yes accept = 30504 connect = visimage-cert.fiservapps.com:8004
- Install the stunnel service using Powershell. If you installed stunnel for all users on the computer, you may need to run Powershell as the Administrator.
- When Windows Powershell is running, enter the following commands:
cd C:\Program Files (x86)\stunnel\bin ./stunnel -uninstall ./stunnel -install
- Reboot your PC.
Verifying the Installation
- Run Windows Services and verify that the stunnel service is running. The service is now called "Stunnel TLS Wrapper".
- If the service is running, launch Visimage3 and test that you are able to successfully start server.