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
13
votes
4 answers

Terminating a high volume of SSL connections cost effectively

I have recently set up a Node.js based web socket server that has been tested to handle around 2,000 new connection requests per second on a small EC2 instance (m1.small). Considering the cost of a m1.small instance, and the ability to put multiple…
Matthew O'Riordan
  • 7,981
  • 4
  • 45
  • 59
8
votes
2 answers

Why connection to localhost is refused?

I have a server, to which a client machine connects. Recently I decided to encrypt the connection with stunnel, so now client program connects not directly to the server, but to localhost:8045 (I checked, and this port is not occupied). Java…
Rogach
  • 26,050
  • 21
  • 93
  • 172
7
votes
1 answer

Unable to connect to a websocket

I created a PHP websocket using Ratchet. This Websocket is running on port 8080 of my internal server 10.0.4.160. I am trying to connect to it from a website that have SSL enabled "aka using https protocol." When attempting to connect to the…
Junior
  • 11,602
  • 27
  • 106
  • 212
7
votes
2 answers

How can I test stunnel?

I've created a conf file for a connection to an address and port for stunnel whose location is in /usr/local/etc/stunnel/ and started the stunnel service. I've binded the address to my local ip address 127.0.0.1:60005 To test the connection, I've…
skynyrd
  • 942
  • 4
  • 14
  • 34
7
votes
6 answers

Certificate issue: SSL page brings up "you need to set a lock screen pin or password before you can use credential storage" on Android

We've setup the certificates on our server and when requesting https://www.ourserver.org, Android (whatever the browser used) shows a little popup You need to set a lock screen pin or password before you can use credential storage Which is wrong,…
jobwat
  • 8,527
  • 4
  • 31
  • 30
7
votes
1 answer

Secure WebSocket (wss://) doesn't work on Firefox

I have a working WebSocket non secure application. But my website uses https and I need a Secure WebSocket connection to avoid Firefox to complain about the fact that the connection is insecure. I am using php-websocket-server for my WebSocket…
Quentin D
  • 95
  • 1
  • 1
  • 7
6
votes
4 answers

One machine being server AND client with STunnel

I know that STunnel can be set up as either server or client with the "client = no" or "client = yes" lines in the config file. Is there a way for a machine to be BOTH a server and client?
Eddie
  • 163
  • 1
  • 3
  • 11
6
votes
1 answer

Does Stunnel support non-encrypt connection?

1 question about Stunnel. I would like to use Stunnel as a FIX (Financial Information eXchange) gateway for internet, to support both SSL and non-SSL connection. Is Stunnel able to do without any encryption? I just had a try with plain socket but it…
user462872
  • 323
  • 1
  • 4
  • 14
6
votes
2 answers

Reduce duplication in haproxy acl with multiple frontend sections

I'm using haproxy with stunnel handling SSL (and using the proxy mode to preserve the original IP from haproxy). I have several acl tests that redirect to different backends depending on the domain, headers, or path. The problem is that these are…
James51
  • 83
  • 1
  • 1
  • 5
6
votes
1 answer

SslStream client unable to complete handshake with stunnel server

I have a fully operational system where openssl based clients interact with an openssl server. Each client have its own certificate that is validated by the server. Certificates have been generated with openssl (X509, pem). They are self-signed. I…
Philippe A.
  • 2,885
  • 2
  • 28
  • 37
5
votes
2 answers

Receiving Chunked HTTP Data With Winsock

I'm having trouble reading in some chunked HTTP response data using winsock. I send a request fine and get the following back: HTTP/1.1 200 OK Server: LMAX/1.0 Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Date: Mon, 29 Aug 2011…
homemade-jam
  • 245
  • 4
  • 12
5
votes
2 answers

Establishing a connection to DUKASCOPY using stunnel

looking for some help in establishing a connection with my broker DUKASCOPY using stunnel and quickfix python over FIX4.4 protocol. Here is my stunnel config: client = yes cert = /etc/stunnel/stunnel.pem [OKSERVER] accept = 9443 connect =…
5
votes
1 answer

how create a service for installed STUNNEL on CentOS 5.10

i have installed stunnel in my centos machine like below : yum install stunnel -y openssl genrsa -out privkey.pem 2048 openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 cat privkey.pem cacert.pem >> /etc/stunnel/stunnel.pem chmod…
SilverLight
  • 19,668
  • 65
  • 192
  • 300
4
votes
0 answers

can stunnel process traffic from a proxy-protocol speaker (haproxy, amazon elb, etc)

I'm trying to setup a stunnel ssl farm load balanced by haproxy. It kinda looks like haproxy -> many stunnels -> haproxy -> apache,nginx etc Problem is to carry the original ip over to the final servers. It seems proxy-protocol is the perfect method…
Johnny B
  • 51
  • 4
4
votes
2 answers

Undefined symbols for architecture x86_64 on Mac OS

I am trying to install stunnel software on Mac OS 10.10 and I am getting the following error Undefined symbols for architecture x86_64 while executing make command from terminal. below are the detailed logs: Making all in…
sahas
  • 315
  • 4
  • 15
1
2 3
10 11