stunnel - SSL Encryption Wrapper

  • 1
  • 2
  • 3

5.59 | Updated: 06 Apr 2021

Downloads:

253,779

Downloads of v 5.59:

313

Maintainer(s):

Software Author(s):

  • Michal Trojnara

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

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 https://community.chocolatey.org/api/v2. 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. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade stunnel -y --source="'STEP 3 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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure stunnel installed
  win_chocolatey:
    name: stunnel
    state: present
    version: 5.59
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'stunnel' do
  action    :install
  version  '5.59'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: stunnel,
    Version: 5.59,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller stunnel
{
   Name     = 'stunnel'
   Ensure   = 'Present'
   Version  = '5.59'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'stunnel':
  provider => 'chocolatey',
  ensure   => '5.59',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install stunnel version="5.59" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 06 Apr 2021.

Description

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.

Documentation

screenshot

Notes

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

tools\stunnel-5.59-win64-installer.exe
md5: 56804CEB6023A43D3BAD59066117905B | sha1: 4DA3C11D0499BD94BF538C787FA240B0D8AD6DC8 | sha256: C45FA3F70ECF0628D1F5985F2C11FEDFC989BBC64DB857DEF82CA7EE602FD8E0 | sha512: BD365B373F667429C4F076489EFC9B0A531BB7184F77B8612F3184A1AD7615750E0987E45DFBDEC02F9C3990E81A3C3D64728D1D01CD1FCED0712DA84EE88880
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

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

$key = Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                 'HKLM:\Software\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() } 
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

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

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

Install-ChocolateyInstallPackage @packageArgs
legal\VERIFICATION.txt
VERIFICATION

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

  https://www.stunnel.org/downloads.html

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

Alternatively the installer can be downloaded directly from

  https://www.stunnel.org/downloads/stunnel-5.59-win64-installer.exe

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

  File64:     stunnel-5.59-win64-installer.exe
  Type64:     sha256
  Checksum64: C45FA3F70ECF0628D1F5985F2C11FEDFC989BBC64DB857DEF82CA7EE602FD8E0

Contents of file LICENSE.txt is obtained from https://www.stunnel.org/COPYING.html
legal\LICENSE.txt
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 http://www.gnu.org/licenses.

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.

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.

Version Downloads Last Updated Status
stunnel - SSL Encryption Wrapper 5.58 361 Sunday, February 21, 2021 Approved
stunnel - SSL Encryption Wrapper 5.57 769 Monday, October 12, 2020 Approved
stunnel - SSL Encryption Wrapper 5.56 214 Monday, August 31, 2020 Approved
stunnel 5.44 239960 Thursday, March 29, 2018 Approved
stunnel 5.38 1178 Friday, December 2, 2016 Approved
stunnel 5.37 322 Tuesday, November 8, 2016 Approved
stunnel 5.36 338 Thursday, October 20, 2016 Approved
stunnel 5.35 651 Wednesday, July 20, 2016 Approved
stunnel 5.34 328 Wednesday, July 6, 2016 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