stunnel - SSL Encryption Wrapper

5.57 | Updated: 12 Oct 2020

Downloads:

170,259

Downloads of v 5.57:

138

Maintainer(s):

Software Author(s):

  • Michal Trojnara

stunnel - SSL Encryption Wrapper 5.57

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

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://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://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.57
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


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

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


Chocolatey::Ensure-Package
(
    Name: stunnel,
    Version: 5.57,
    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.57'
   Source   = 'STEP 3 URL'
}

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


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

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


salt '*' chocolatey.install stunnel version="5.57" 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 12 Oct 2020.

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.

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.
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.57-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.57-win64-installer.exe

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

  File64:     stunnel-5.57-win64-installer.exe
  Type64:     sha256
  Checksum64: 6BCABE757E72A26463B054E7BF14D661B3A6734B4FA60DCED491DE170008D78C

Contents of file LICENSE.txt is obtained from https://www.stunnel.org/COPYING.html
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

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

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

Install-ChocolateyInstallPackage @packageArgs
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\stunnel-5.57-win64-installer.exe
md5: 7E8C9E63411B4A28648F7DD4E37FE5BF | sha1: 6E2B7FADA467759003D2604302D019520330202D | sha256: 6BCABE757E72A26463B054E7BF14D661B3A6734B4FA60DCED491DE170008D78C | sha512: AEBAFA4B8D725290E415222738604217590316F3DE033F076B9EC878E1F96E8380172E7C310768F31706B9940A8F72DFB14E567803199258CC312C0163C791CD

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.56 193 Monday, August 31, 2020 Approved
stunnel 5.44 158579 Thursday, March 29, 2018 Approved
stunnel 5.38 1152 Friday, December 2, 2016 Approved
stunnel 5.37 302 Tuesday, November 8, 2016 Approved
stunnel 5.36 312 Thursday, October 20, 2016 Approved
stunnel 5.35 629 Wednesday, July 20, 2016 Approved
stunnel 5.34 294 Wednesday, July 6, 2016 Approved
stunnel 5.32 286 Friday, June 24, 2016 Approved
stunnel 5.31 268 Friday, June 24, 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