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

Piwik Master/Slave database configuration

Is it possible to configure a piwik installation to use one database server for writing and one for reading? And if so, how?
1
vote
1 answer

stunnel without client

Can stunnel server work without stunnel client? I mean can I write my own http server with only HTTP and add SSL support via Stunnel server? and clients will connect to stunnel server with they own client program using ssl? thanks.
milo
  • 1,220
  • 3
  • 17
  • 33
1
vote
1 answer

Connect to Redis server from within a Docker image

I have 2 hosts, a web unit (WU) and a computing unit (CU). On the WU, I have my website. On the CU, I have a redis server and a (C++) app that does some computing. The user enters input data in the website, and then I want to enqueue a job from the…
mfnx
  • 2,894
  • 1
  • 12
  • 28
1
vote
0 answers

Stunnel for Elasticchache Redis(cluster mode enabled)

I have spin up Elasticcache Redis cluster mode enabled cluster on AWS. I am having 3 master shards and 1 replica for each(total 3 replicas). I have turn on in-transit encryption. For this I have installed stunnel on my EC2 instance and my config…
1
vote
0 answers

OSx How to create a fat binary from two different binaries which depend on each other

Basically what I want to do is to create a binary which contains Stunnel and openssl(stunnel depends on openssl) and to work on any mac without installing anything, just by running that binary I want Stunnel to work. I downloaded the source code for…
jalanga
  • 1,456
  • 2
  • 17
  • 44
1
vote
1 answer

Emacs viewmail imap

Anybody is using viewmail on OS X? I'm trying to use it, but after installing stunnel 4.35 using macport, when I try to visit my imap inbox, i got the following error: IMAP protocol error: "unexpected char (10)" I googled it, but so far no solution…
sudo
  • 647
  • 2
  • 7
  • 19
1
vote
1 answer

stunnel - two Ubuntu machines traffic encryption

I have a problem getting Stunnel to work on Ubuntu 18.04. There are tons of websites that tell how to configure it but nothing works with me, I guess I am doing something wrong. Here are the steps I did: OS: Ubuntu18.04 (virtual machine, clean…
Anmar
  • 67
  • 1
  • 10
1
vote
0 answers

HTTPS for localhost for Django development with stunnel

I'm working through the book "Django 2 by example". The second excercise creates a bookmarklet launcher, which loads some javascript from the local Django folder. Testing with a/the recent Firefox version (I'm using arch linux by the way), means…
pandita
  • 4,739
  • 6
  • 29
  • 51
1
vote
2 answers

Stunnel certificate verify failed

I am trying to setup stunnel with REDIS in windows.After installing stunnel and redis, I have following configuration fro server and client mode : Client Machine Configuration: [redis-stunnel] client = yes cert = stunnel.pem accept =…
Rahul Roshan
  • 77
  • 3
  • 10
1
vote
2 answers

How to use STunnel for TCP Server/Client where Client sends out on port 39000

I have a TCP Server/Client where the Server listens on port 5000 and the Client outgoing port is 39000. I have Stunnel set up on the Server: [custom] accept = 6000 connect = 5000 ... so it accepts connections on port 6000 and redirects it to 5000…
Eddie
  • 163
  • 1
  • 3
  • 11
1
vote
0 answers

Making a request to server through sTunnel

I've got a small app running on en EC2 instance that' configured through sTunnel. My sTunnel is configured like so client = no cert = /etc/stunnel/stunnel.pem key = /etc/stunnel/stunnel.pem [proxy] connect = 127.0.0.1:3000 accept = private_ip:1500 …
Rob Gleeson
  • 315
  • 1
  • 5
  • 17
1
vote
1 answer

bind: Permission denied (13) with stunnel for set https

I am getting this error: [!] bind: Permission denied (13) [!] Error binding service [https] to :::443 These are my stunnel.conf settings: [https] accept = 120.113.121.99:443 accept = :::443 key = /etc/stunnel/localhost.key cert =…
Kane Lin
  • 31
  • 1
  • 5
1
vote
0 answers

Configure Stunnel to provide https to web server

I'm using standard httpd BusyBox as web sever ran on localhost:80. httpd doesn't support https. To make connection between some client and my httpd server, I build and run stunnel with following configuration file: setuid = www-data setgid =…
1
vote
1 answer

is is possible to use stunnel / spiped to secure Redis Cluster?

What is the proper way to ssl secure a Redis cluster? (Client-server, node-node communication). As mentioned in Redis cluster specification, every node on the cluster listens on 2 ports: the port for "external" communication and another for the…
TommyW
  • 550
  • 1
  • 6
  • 21
1
vote
0 answers

stunnel No certificate returned unknown CA

I have 2x stunnels linux based, 1 server, 1 client. What I am trying to do is to use a stunnel client and with verify 3 it authenticates the user based on the certificate. Here are the config files of each: Client: cert =…
Mark Shine
  • 11
  • 6