Questions tagged [stunnel]

Stunnel is a proxy designed to add TLS encryption functionality to existing clients and servers without any changes in the programs' code. Its architecture is optimized for security, portability, and scalability (including load-balancing), making it suitable for large deployments.

Stunnel is a proxy designed to add TLS encryption functionality to existing clients and servers without any changes in the programs' code. Its architecture is optimized for security, portability, and scalability (including load-balancing), making it suitable for large deployments.

Stunnel uses the OpenSSL library for cryptography, so it supports whatever cryptographic algorithms are compiled into the library. It can benefit from the FIPS 140-2 validation of the OpenSSL FIPS Object Module, as long as the building process meets its Security Policy. A scanned FIPS 140-2 Validation Certificate document is available for download on the NIST web page. The Windows binary installer is compiled with FIPS 140-2 support. The FIPS mode of operation is no longer enabled by default since stunnel 5.00.

Stunnel is a free software authored by Michał Trojnara. Although distributed under GNU GPL version 2 or later with OpenSSL exception, stunnel is not a community project. We retain the copyright of the source code. Please contact us for commercial support or non-GPL licenses. Free, community-based support is also available via stunnel-users mailing list.

162 questions
1
vote
1 answer

Submit Form Data through Web Server to MySQL Server using Stunnel?

I have a form that users can fill out, and the data will be stored into a MySQL database using PHP. The connection to the Apache server is encrypted through HTTPS, and I would like to encrypt the connection to the MySQL database. Both Apache and…
nubicurio
  • 165
  • 1
  • 2
  • 15
0
votes
0 answers

Tunneling internet traffic through SSH/SSL with custom SNI

I'm currently trying to setup a tunnel mainly to use custom SNI for my connections, I have tried multiple methods but was not able to make it work, I've used Stunnel to listen on port 443 localhost and connect port 22 localhost but issue is the…
Aminebd39
  • 1
  • 2
0
votes
0 answers

Setup STUNNEL as client for both sides

Good morning, I need to configure a STUNNEL server to encrypt the traffic between a service that doesn't originally accept TLS and a service that properly accepts TLS PSK (Pre-Shared Key) (and this is important! The destination service only accepts…
ALA
  • 1
  • 1
0
votes
0 answers

quickfix stunnel config connect

I am trying to create a program through Python using the quick fix library that needs to connect to the server a fixed ip and connect to stunnel. I have a static ip from the resource in the stunnel configuration file and put this code…
mery
  • 11
  • 2
0
votes
0 answers

Not able to connect to redis and redis cluster after removing stunnel

I am not able to connect to redis and redis cluster after removing stunnel from my springboot application. I am using properties file and config pool is fetched from Jedis.java file using this properties file. Eariler there was stunnel.config using…
Rohit Dubey
  • 41
  • 1
  • 9
0
votes
0 answers

Stunnel enable compression

Sounds like stunnel supports only two compression methods, based on their documentation: https://www.stunnel.org/static/stunnel.html compression = deflate | zlib So I'm trying to get zlib to work for example. First I tried using the package of…
Steve Moretz
  • 2,758
  • 1
  • 17
  • 31
0
votes
0 answers

How crontab start stunel service

I want corntab restart stunnel service How crontab start "systemctl restart stunnel.service" on centos every 5 min. Thank You
user2436375
  • 29
  • 1
  • 2
0
votes
0 answers

stunnel server disconnects after connecting

I am working on setting up stunnel to work against a specific server however i see server disconnects me immediately after connecting. How can i understand the reason from these logs? 2023.04.07 01:52:02 LOG5[ui]: stunnel 5.69 on…
0
votes
1 answer

Nginx rtmps to Kick

I try to connect via NGINX and STUNNEL to Kick.com and didnt get it work. My NGINY Config is as follow abd the Stream to Facebook is working, what me confused more and more that kick not is working: rtmp { server { listen 1978; …
0
votes
0 answers

android stunnel connect error with openssl

stunnel version stunnel-5.67-android.zip I run stunnel success on my android phone with adb in shell, but can not connect to server. files in stunnel dir: stunnel openssl stunnel.conf stunnel.pem command ./stunnel stunnel.conf log…
aotian16
  • 767
  • 1
  • 10
  • 21
0
votes
0 answers

Stunnel issue SSL_read: Connection reset by peer (WSAECONNRESET) (10054)

I have problems with stunnel on OS Windows. After a successful connection with stunnel, the connection drops after approximately 9 minutes of inactivity. On Linux, this problem was solved by changing this parametrs: net.ipv4.tcp_keepalive_time =…
0
votes
0 answers

Stunnel on 3 servers

How can I use stunnel like this : Client stunnel ===> server 1 stunnel ===> server 2 stunnel I used : Client stunnel ===> server stunnel It works fine, But i don't know how can I use : Client stunnel ===> server 1 stunnel ===> server 2 stunnel Is it…
mastering
  • 21
  • 1
0
votes
0 answers

How to configure STUNNEL client to see the web page?

I am using stunnel in Windows so that I change HOST file and stunnel.conf configuration file and usually it works. But I would like to open in a browser the web https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html No success so far. Is…
0
votes
0 answers

stream with nginx and stunnel to telegram

I am trying to stream to telegram using nginx and stunnel the stream come from rtmp and i need to send it as rtmps to the telegram. the config of the nginx : `rtmp { server { listen 1935; chunk_size 4096; application…
assaf
  • 1
  • 2
0
votes
0 answers

How to replace a Stunnel with a Haproxy

I try to replace an existing Stunnel configuration sslVersion = TLSv1.2 ciphers = AES256-SHA:AES128-SHA:RC4-SHA:RC4-MD5 CAfile = acs.pem output = stunnel.log debug = 7 [CONF1] verify = 2 cert = conf1.pem key = conf1.key accept =…
spaceworld
  • 13
  • 4