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
2
votes
1 answer

ssh port forwarding v stunnel

I'm wondering actually about the difference between usage of stunnel and ssh port-forwarding (-L and -R flags functionality). I know that both things are difference solutions - SSH tolerates its own keys, stunnel relies on SSL and certificates as a…
Michael
  • 129
  • 2
  • 10
2
votes
2 answers

Where can I find an introduction to SSL with OpenSSL?

I want to learn about the nuts-and-bolts of using SSL to secure client/server communication. Is there any documentation, anywhere, regarding how to do this with OpenSSL? The best I've been able to find so far is the source code for stunnel…
David Wolever
  • 148,955
  • 89
  • 346
  • 502
2
votes
0 answers

Is there anything I can use as a proxy to connect to a SQL Server (on TLS v1.2) from a legacy application which uses only TLS v1?

We have a legacy application (vendor product) which we don't have source for, which connects to a MS SQL Server 2008 using TLS v1. Now there is a mandate to move all connectivity to TLS v1.2. We are able to upgrade SQL Server to a version supporting…
Vinay
  • 21
  • 1
2
votes
0 answers

Install Stunnel on Debian with make

The latest version of stunnel is 5.55 from https://www.stunnel.org/downloads.html I can not find a Debian package for this version, there is only…
Mzq
  • 1,796
  • 4
  • 30
  • 65
2
votes
1 answer

How to Configure nginx with stunnel to accept parameters for different FB Live Streams OR rtmps with FFMPEG

I want to setup RTMPS and learned that only way around is by using nginx and stunnel. I have the setup and it works with just one configured key. I have several different keys and all are dynamic. A lot of different urls too. My Goal is to add a…
Yogesh Agarwal
  • 631
  • 1
  • 6
  • 8
2
votes
1 answer

What is meant by 'write certificate verify' in openssl?

I am sending a web service request by using key stored in a token with the below command. openssl s_client -engine pkcs11 -key slot_1-id_00 -keyform engine -CAfile cacert.pem -cert cert.pem -certform PEM -connect hostname:443 -tls1_2 -state…
2
votes
1 answer

Securing Redis with Stunnel on Docker Swarm

I have added stunnel to a Redis container and PHP-FPM container to securely transfer application data between services on a docker swarm cluster. I haven't been able to find any other similar questions, so I'm wondering if I'm taking the wrong…
mitchcodes
  • 41
  • 3
2
votes
0 answers

stunnel : SSL alert (read): warning: close notify

we have a stunnel proxy server running on the same box. Basically, our app connects to stunnel proxy server in un-encrypted fashion, and this stunnel proxy server then connects to a remote server ( that remote server belongs to a different company)…
2
votes
1 answer

How do you use a Python socket with stunnel?

I'm trying to implement a TCP socket via stunnel but not sure how to capture the server response. My stunnel configuration file is exactly like this: [Coinbase] client = yes accept = 127.0.0.1:4197 connect = fix.gdax.com:4198 verify = 4 CAfile =…
jp94
  • 315
  • 4
  • 15
2
votes
1 answer

Configuring stunnel and openssl on Windows to support TLS 1.2

I'm having trouble enabling TLS 1.2 connections on a Windows (environment has both Windows 2008 and Windows 10 environments) platform. Currently, my private keys are managed by the Windows certificate store, using the CAPI engineId within stunnel (v…
Liz Turi
  • 51
  • 1
  • 1
  • 9
2
votes
1 answer

PHP ratchet trouble with SSL

I can't seem to connect ratchet now that my website uses https. I even have stunnel installed. Here is my configuration Demo: https://usyd.chat/react.html (see source code and console) push-server.php
fatffatable
  • 399
  • 3
  • 11
2
votes
1 answer

How to reload stunnel configuration with command line?

Is there a command line to reload stunnel configuration file when the stunnel is running? I start stunnel by command line. But I don't find any methods that can dynamic change its configuration. Edit: According here of Version 5.15, 2015.04.16,…
Jay
  • 121
  • 2
  • 16
2
votes
1 answer

what is a good way to secure Cap'n Proto RPC network traffic?

I would like to use Cap'n Proto RPC to communicate with a server in the cloud from a desktop box in an office. Cap'n Proto doesn't provide secure network connections through a firewall. I would prefer c++ since I have other components which require…
James Fremen
  • 2,170
  • 2
  • 20
  • 29
2
votes
2 answers

Securing Node Redis

I'm trying to secure the Node Redis IPC server to use a private/public key. I've followed this tutorial which uses stunnel which wraps the tunnel used by Redis under a SSL layer. The example is not for Node, but it does secure the connection, and I…
Kousha
  • 32,871
  • 51
  • 172
  • 296
2
votes
0 answers

Transparent stunnel proxy setsockopt Operation not permitted

I am attempting to run a transparent stunnel4 proxy on a server for a websocket service. The WS server is based on the Ratchet framework and thus does not support WSS, hence the need for a proxy. When transparent is set to none in the stunnel.conf…
Jonny K
  • 31
  • 1
  • 7
1 2
3
10 11