feat: article and configuration file example about stunnel

This commit is contained in:
Michele Cereda
2023-05-25 21:41:10 +02:00
parent 443f34de92
commit 4e6494fa8a
2 changed files with 52 additions and 0 deletions

46
knowledge base/stunnel.md Normal file
View File

@@ -0,0 +1,46 @@
# Stunnel
Proxy designed to add TLS encryption functionality to existing clients and servers without any changes in the programs' code.
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
In Unix-like operating systems:
```sh
# Install it.
brew install 'stunnel'
# Show default socket options.
stunnel -sockets
# Show supported TLS options.
stunnel -options
# Start the process.
stunnel 'path/to/config/file'
```
## Further readings
- [Website]
- [Sample configuration for Unix systems]
## Sources
All the references in the [further readings] section, plus the following:
<!-- project's references -->
[sample configuration for unix systems]: https://www.stunnel.org/config_unix.html
[website]: https://www.stunnel.org/
<!-- in-article references -->
[further readings]: #further-readings
<!-- internal references -->
<!-- external references -->