stunnel - SSL Encryption Wrapper

This is not the latest version of stunnel - SSL Encryption Wrapper available.

  • 1
  • 2
  • 3

5.62 | Updated: 18 Jan 2022



Downloads of v 5.62:



Software Author(s):

  • Michal Trojnara

  • 1
  • 2
  • 3
stunnel - SSL Encryption Wrapper 5.62

This is not the latest version of stunnel - SSL Encryption Wrapper available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install stunnel - SSL Encryption Wrapper, run the following command from the command line or from PowerShell:


To upgrade stunnel - SSL Encryption Wrapper, run the following command from the command line or from PowerShell:


To uninstall stunnel - SSL Encryption Wrapper, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade stunnel -y --source="'INTERNAL REPO URL'" --version="'5.62'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade stunnel -y --source="'INTERNAL REPO URL'" --version="'5.62'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install stunnel
    name: stunnel
    version: '5.62'
    state: present

See docs at

chocolatey_package 'stunnel' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.62'

See docs at

cChocoPackageInstaller stunnel
    Name     = "stunnel"
    Version  = "5.62"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'stunnel':
  ensure   => '5.62',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 18 Jan 2022.


The stunnel program is designed to work as TLS encryption wrapper between remote clients and local (inetd-startable) or remote servers. The concept is that having non-TLS aware daemons running on your system you can easily set them up to communicate with clients over secure TLS channels.

stunnel can be used to add TLS functionality to commonly used Inetd daemons like POP-2, POP-3, and IMAP servers, to standalone daemons like NNTP, SMTP and HTTP, and in tunneling PPP over network sockets without changes to the source code.




  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

Copyright (C) 1998-2019 Michal Trojnara

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see

Linking stunnel statically or dynamically with other modules is making a combined work based on stunnel. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

In addition, as a special exception, the copyright holder of stunnel gives you permission to combine stunnel with free software programs or libraries that are released under the GNU LGPL and with code included in the standard release of OpenSSL under the OpenSSL License (or modified versions of such code, with unchanged license). You may copy and distribute such a system following the terms of the GNU GPL for stunnel and the licenses of the other code concerned.

Note that people who make modified versions of stunnel are not obligated to grant this special exception for their modified versions; it is their choice whether to do so. The GNU General Public License gives permission to release a modified version without this exception; this exception also makes it possible to release a modified version which carries forward this exception.

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The application has been downloaded from the official distribution and can
be verified by:

1. Go to the binary distribution page

and download the installer stunnel-5.62-win64-installer.exe using the links in the relevant assets section of the page.

Alternatively the installer can be downloaded directly from

2. The installer can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash -Algorithm stunnel-5.62-win64-installer.exe
  - Use chocolatey utility 'checksum.exe'  - checksum -t sha256 -f stunnel-5.62-win64-installer.exe

  File64:     stunnel-5.62-win64-installer.exe
  Type64:     sha256
  Checksum64: FBFCC5759344BCAFFF9FF3BC6CF56C7FB75CB1244B76D4934C5D9A3EB7EEE32D

Contents of file LICENSE.txt is obtained from
$ErrorActionPreference = 'Stop'

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  File           = "$toolsDir\stunnel-5.62-win64-installer.exe"
  SilentArgs     = '/S'
  ValidExitCodes = @(0)

Install-ChocolateyInstallPackage @packageArgs
$ErrorActionPreference = 'Stop'

$packageName    = $env:ChocolateyPackageName
$packageSearch  = "$packageName*"
$installerType  = 'exe'
$silentArgs     = '/S'
$validExitCodes = @(0)

$key = Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' ) `
                        -ErrorAction:SilentlyContinue `
        | Where-Object   { $_.DisplayName -like $packageSearch }

$key | ForEach-Object { 
        $unFile = $_.UninstallString -replace "^`"?([^`"]+).*","`$1"
        Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                    -FileType "$installerType" `
                                    -SilentArgs "$silentArgs" `
                                    -File "$unFile" `
                                    -ValidExitCodes $validExitCodes }

# Remove the stunnel service if it has been added - the uninstall (5.56) fails to do this
$service = Get-WmiObject -Class Win32_Service -Filter 'Name="stunnel"'
if ($service) { $service.delete() } 
md5: 7D56777A12A7B9AD58FF091C57A4E2EA | sha1: 753424A6E8E5049D67DDD51348AC81A5021264AD | sha256: FBFCC5759344BCAFFF9FF3BC6CF56C7FB75CB1244B76D4934C5D9A3EB7EEE32D | sha512: CE3B2183A962A552498D18DE6B77CC1FF69704DD4BAD1989000B44E5C13AC2A5B05EEEEE038A9C38D1A4C14A45D654FBE9C27760FA74459F10E6B1C7044FBCD1

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
stunnel - SSL Encryption Wrapper 5.63 448 Thursday, March 17, 2022 Approved
stunnel - SSL Encryption Wrapper 5.62 442 Tuesday, January 18, 2022 Approved
stunnel - SSL Encryption Wrapper 5.61 231 Thursday, December 23, 2021 Approved
stunnel - SSL Encryption Wrapper 5.60 626 Tuesday, August 17, 2021 Approved
stunnel - SSL Encryption Wrapper 5.59 1028 Tuesday, April 6, 2021 Approved
stunnel - SSL Encryption Wrapper 5.58 393 Sunday, February 21, 2021 Approved
stunnel - SSL Encryption Wrapper 5.57 809 Monday, October 12, 2020 Approved
stunnel - SSL Encryption Wrapper 5.56 268 Monday, August 31, 2020 Approved
stunnel 5.44 287055 Thursday, March 29, 2018 Approved

This package has no dependencies.

Discussion for the stunnel - SSL Encryption Wrapper Package

Ground Rules:

  • This discussion is only about stunnel - SSL Encryption Wrapper and the stunnel - SSL Encryption Wrapper package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or stunnel - SSL Encryption Wrapper, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus