Automic VaultAutomic Vault

brew

Install stunnel with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

SSL tunneling program. Version 5.79 via Homebrew; verified 2026-06-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install stunnel

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install stunnel

MacPorts ports tree · security/stunnel/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add stunnel

Alpine Linux edge package indexes · stunnel · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install stunnel

Fedora Rawhide package metadata · stunnel · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#stunnel

nixpkgs package indexes · pkgs/by-name/st/stunnel/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S stunnel

Arch Linux sync databases · stunnel · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install stunnel

openSUSE Tumbleweed package metadata · stunnel · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install stunnel

Chocolatey community package catalog · stunnel · source: community.chocolatey.org

Scoopverified · 92%
scoop install extras/stunnel

Scoop official bucket manifest trees · bucket/stunnel.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id MichalTrojnara.Stunnel -e

Windows Package Manager source index · MichalTrojnara.Stunnel · source: cdn.winget.microsoft.com

overview

Package summary

SSL tunneling program

Commands and aliases

  • stunnel
  • stunnel3

history

Project history and usage

stunnel is a long-running TLS wrapper proxy used to add TLS encryption to clients and servers that do not speak TLS themselves.

Project history

The official changelog records stunnel 0.1 as a testing skeleton on 1998-02-10 and stunnel 1.0 on 1998-02-11 as the first version with SSL support. That makes it one of the older still-packaged command-line TLS utilities in Unix and Windows ecosystems.

The project has remained focused on wrapping arbitrary TCP services with SSL/TLS rather than replacing the underlying application protocol. Its manual and HOWTO present configuration as service sections that accept local connections and connect or execute another service behind the encrypted layer.

Adoption history

The input package facts list stunnel in Homebrew, Alpine, Fedora/DNF, MacPorts, Nix, Arch, Chocolatey, Scoop, WinGet, and openSUSE/Zypper. That breadth reflects stunnel's role as a portable operational tool rather than a single-platform utility.

The official downloads page publishes source tarballs, Windows installers, Android builds, signatures, checksums, and rsync-accessible code archives, showing a release process designed for downstream packagers and administrators.

How it is used

Administrators use stunnel to put TLS in front of non-TLS-aware services or to create encrypted client-side tunnels to remote services. The manual describes global options plus per-service sections containing options such as accept, connect, certificates, keys, and verification settings.

Common package usage is configuration-file driven: install the package, write stunnel.conf service blocks, provide certificates or keys where needed, and supervise stunnel as a daemon or service.

Why package nerds care

stunnel matters to package nerds because it is a classic tiny Unix tool with a huge compatibility surface: C code, OpenSSL linkage, service-manager integration, certificate file handling, Windows installers, and distribution patches all meet in one package.

It is also a practical example of packaging security middleware. The package is not exciting because it owns an application protocol; it is important because it lets old or simple services survive in TLS-required environments.

Timeline

  • 1998: stunnel 0.1 testing skeleton and stunnel 1.0 with SSL support appeared in the official changelog.
  • 2014: stunnel 5-era releases continued active OpenSSL security updates, including OpenSSL DLL updates during major vulnerability periods.
  • 2026: The official release list shows stunnel 5.79 released on 2026-06-29.

Related projects

  • OpenSSL is the cryptographic library stunnel relies on for TLS functionality.
  • TCP Wrappers/libwrap appears in the manual as an optional access-control integration.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
<config-folder>/stunnel.conf

executables

Installed executables

CommandKindExposureNote
stunnelcliglobal executable
stunnel3cliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version5.79
manager updated2026-06-29
local dataok
upstreamnot checked
latest detectednot detected

https://www.stunnel.org/

install metadata

Package metadata

Package keybrew:stunnel
Version5.79
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/stunnel
Homepagehttps://www.stunnel.org/
Repositoryhttps://github.com/mtrojnar/stunnel
Upstream docshttps://www.stunnel.org/docs.html
LicenseGPL-2.0-or-later
Source archivehttps://www.stunnel.org/downloads/stunnel-5.79.tar.gz
Last updated2026-06-29T16:45:11Z
Pulseupdated
Dependenciesopenssl@3
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsA bogus SSL server certificate has been installed to: $HOMEBREW_PREFIX/etc/stunnel/stunnel.pem This certificate will be used by default unless a config file says otherwise! Stunnel will refuse to load the sample configuration file if left unedited. In your stunnel configuration, specify a SSL certificate with the "cert =" option for each service. To use Stunnel with Homebrew services, make sure to set "foreground = yes" in your Stunnel configuration.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestunnel
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

stunnel

nix profile install nixpkgs#stunnel
  • normalized package name match
  • Matched by: Stunnel
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/stunnel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

stunnel 5.76-r0

SSL encryption wrapper between network client and server

https://www.stunnel.org

sudo apk add stunnel
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: stunnel
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Stunnel
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stunnel from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

stunnel-doc 5.76-r0

SSL encryption wrapper between network client and server (documentation)

https://www.stunnel.org

sudo apk add stunnel-doc
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: stunnel
  • normalized package name match
  • Matched by: Stunnel
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stunnel-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

stunnel-openrc 5.76-r0

SSL encryption wrapper between network client and server (OpenRC init scripts)

https://www.stunnel.org

sudo apk add stunnel-openrc
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: stunnel
  • normalized package name match
  • Matched by: Stunnel
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stunnel-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

stunnel3 5.76-r0

Perl wrapper to use stunnel 3.x syntax in stunnel >=4.05

https://www.stunnel.org

sudo apk add stunnel3
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: stunnel
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Stunnel
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stunnel3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

stunnel 5.78-1.fc45

A TLS-encrypting socket wrapper

https://www.stunnel.org/

sudo dnf install stunnel
  • License: GPL-2.0-or-later WITH stunnel-exception AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: stunnel
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Stunnel
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: stunnel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

stunnel 5.78-1

A program that allows you to encrypt arbitrary TCP connections inside SSL

https://www.stunnel.org/

sudo pacman -S stunnel
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 4 dependencies
  • normalized package name match
  • Matched by: Stunnel
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: stunnel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

stunnel 5.78-1.1

Universal TLS Tunnel

https://www.stunnel.org/

sudo zypper install stunnel
  • License: GPL-2.0-or-later
  • Category: Productivity/Networking/Security
  • Architecture: x86_64
  • Source Package: stunnel
  • 13 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Stunnel
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: stunnel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

stunnel-doc 5.78-1.1

Documentation for the universal TLS Tunnel

https://www.stunnel.org/

sudo zypper install stunnel-doc
  • License: GPL-2.0-or-later
  • Category: Documentation/Other
  • Architecture: noarch
  • Source Package: stunnel
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Stunnel
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: stunnel-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

stunnel

sudo port install stunnel
  • normalized package name match
  • Matched by: Stunnel
MacPorts ports tree · api.github.com · MacPorts ports tree: security/stunnel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

stunnel

choco install stunnel
  • normalized package name match
  • Matched by: Stunnel
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: stunnel from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','starship.install'
Scoop95%

extras/stunnel

scoop install extras/stunnel
  • normalized package name match
  • Matched by: Stunnel
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/stunnel.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

MichalTrojnara.Stunnel

winget install --id MichalTrojnara.Stunnel -e
  • normalized package name match
  • Matched by: Stunnel
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: MichalTrojnara.Stunnel from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment