Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

stunnel - SSL Encryption Wrapper

  • 1
  • 2
  • 3

5.71 | Updated: 20 Sep 2023



Downloads of v 5.71:



Software Author(s):

  • Michal Trojnara

stunnel - SSL Encryption Wrapper 5.71

  • 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:


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'" [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'" 

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.71'
    state: present

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'stunnel':
  ensure   => '5.71',
  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.

Package Approved

This package was approved as a trusted package on 20 Sep 2023.


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.71-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.71-win64-installer.exe
  - Use chocolatey utility 'checksum.exe'  - checksum -t sha256 -f stunnel-5.71-win64-installer.exe

  File64:     stunnel-5.71-win64-installer.exe
  Type64:     sha256
  Checksum64: 945DF5118473BCBF1ECDC5561FD6F26743C5DD1FD82E1A25199D0FD5C39A9373

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.71-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: BE1C68BE2BCF42224B5D59DEAFD0F37B | sha1: 9FDDAD07CC3E1C75B64F439680BE53BDA47C4125 | sha256: 945DF5118473BCBF1ECDC5561FD6F26743C5DD1FD82E1A25199D0FD5C39A9373 | sha512: 3D53B3094410A8025C7E98C164310BDE2D40B2C39C7446841FEE9971B7B2831B10438438A9D2A3FC84E7A9D7724F3F6A7E8E9DD378F915DD14CA2AF20B38D453

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.70 422 Thursday, July 13, 2023 Approved
stunnel - SSL Encryption Wrapper 5.69 695 Sunday, March 5, 2023 Approved
stunnel - SSL Encryption Wrapper 5.68 345 Wednesday, February 8, 2023 Approved
stunnel - SSL Encryption Wrapper 5.67 757 Wednesday, November 2, 2022 Approved
stunnel - SSL Encryption Wrapper 5.66 338 Sunday, September 11, 2022 Approved
stunnel - SSL Encryption Wrapper 5.65 342 Monday, July 18, 2022 Approved
stunnel - SSL Encryption Wrapper 5.64 477 Saturday, May 7, 2022 Approved
stunnel - SSL Encryption Wrapper 5.63 638 Thursday, March 17, 2022 Approved
stunnel - SSL Encryption Wrapper 5.62 513 Tuesday, January 18, 2022 Approved
stunnel - SSL Encryption Wrapper 5.61 269 Thursday, December 23, 2021 Approved
stunnel - SSL Encryption Wrapper 5.60 1251 Tuesday, August 17, 2021 Approved
stunnel - SSL Encryption Wrapper 5.59 1084 Tuesday, April 6, 2021 Approved
stunnel - SSL Encryption Wrapper 5.58 438 Sunday, February 21, 2021 Approved
stunnel - SSL Encryption Wrapper 5.57 900 Monday, October 12, 2020 Approved
stunnel - SSL Encryption Wrapper 5.56 311 Monday, August 31, 2020 Approved
stunnel 5.44 336025 Thursday, March 29, 2018 Approved
stunnel 5.38 1283 Friday, December 2, 2016 Approved
stunnel 5.37 411 Tuesday, November 8, 2016 Approved
stunnel 5.36 426 Thursday, October 20, 2016 Approved
stunnel 5.35 754 Wednesday, July 20, 2016 Approved
stunnel 5.34 432 Wednesday, July 6, 2016 Approved
stunnel 5.32 417 Friday, June 24, 2016 Approved
stunnel 5.31 421 Friday, June 24, 2016 Approved
stunnel 464 Tuesday, February 23, 2016 Approved
stunnel 5.30 424 Monday, February 1, 2016 Approved
stunnel 5.29 413 Saturday, January 9, 2016 Approved
stunnel 5.28 447 Saturday, December 12, 2015 Approved
stunnel 5.27 380 Thursday, December 3, 2015 Approved
stunnel 5.26 404 Saturday, November 7, 2015 Approved
stunnel 5.25 435 Monday, November 2, 2015 Approved
stunnel 5.24 397 Saturday, October 10, 2015 Approved
stunnel 5.22 396 Friday, July 31, 2015 Approved
stunnel 5.21 456 Monday, July 27, 2015 Approved
stunnel 5.20 416 Friday, July 10, 2015 Approved
stunnel 5.19 380 Monday, June 29, 2015 Approved
stunnel 5.18 393 Tuesday, June 16, 2015 Approved
stunnel 5.17 501 Friday, May 8, 2015 Approved
stunnel 5.16 396 Monday, April 20, 2015 Approved
stunnel 5.15 382 Friday, April 17, 2015 Approved
stunnel 5.14 393 Thursday, March 26, 2015 Approved
stunnel 5.13 411 Saturday, March 21, 2015 Approved
stunnel 5.12 437 Friday, March 20, 2015 Approved
stunnel 5.11 495 Tuesday, March 17, 2015 Approved
stunnel 5.10 587 Friday, January 23, 2015 Approved
stunnel 5.09 477 Sunday, January 4, 2015 Approved
stunnel 5.08 446 Tuesday, December 9, 2014 Approved
stunnel 5.07 423 Tuesday, December 2, 2014 Approved
stunnel 4.56 702 Saturday, December 14, 2013 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