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

VNC server connection refused (111) when trying to connect

I am trying to incorporate SSL with my App so it use a secure connection when accessing through vnc viewers. Based on logs I don't think it even passes the handshaking stage. Server Configuration: pid = /stunnel.pid cert =…
Frozenpotato
  • 21
  • 1
  • 3
1
vote
1 answer

getting wss working with stunnel & ratchet

Running Apache v2.4, PHP v5.6 w/ php-fpm, on CentOS 7 So I'm trying to get wss working with stunnel & Ratchet. I've got Ratchet's Hello World (http://socketo.me/docs/hello-world) working successfully with the test code on non-ssl at port 8080. I can…
Zxurian
  • 139
  • 2
  • 9
1
vote
1 answer

What is the difference between stunnel and sshuttle

Can someone explain to me the benefits of using one over the other? Are they comparable? I understand that sshuttle acts as a proxy for outbound communication, however can it also be used to forward connections? For instance, stunnel can be used as…
Anomnomous
  • 13
  • 2
1
vote
1 answer

How do I channel all browsing traffic through encrypted sTunnel session?

I have sTunnel running on my client and server and can't seem to get my head round how I can have it running in a sort of "silent mode" whereby if I were abroad I could fire up the sTunnel connection on my client, connect to my server and then my…
Jamie
  • 63
  • 1
  • 3
1
vote
0 answers

How to setup secure tunnel to allow a client to communicate to a websocket?

I need to allow client to connect to a websocket on server 10.0.4.160. The 10.0.4.160 server does not have SSL installed on it but it have a websocket that is running on port 8080. I need to setup a secure tunnel to allow the client to connect to…
Junior
  • 11,602
  • 27
  • 106
  • 212
1
vote
0 answers

stunnel -starttls xmpp return "SSL23_GET_CLIENT_HELLO:unknown protocol"

I want to proxy via stunnel to XMPP ejabberd/mongoose server. Stunnel have a certs, client=no etc. Here is config: cert = /home/user/ssl/CA/certs/server.cert.pem key = /home/user/ssl/CA/private/server.nopass.key.pem ;sslVersion = TLSv1 sslVersion =…
pashkash
  • 11
  • 4
1
vote
1 answer

How to automate the installation of loopback adapter on windows 7

I am working on a software which requires loopback adapter. I would like to automate installation of loopback adapter through batch scripts. Please let me know the best way to achieve this functionality.
sahas
  • 315
  • 4
  • 15
1
vote
2 answers

Stunnel "Peer suddenly disconnected" error with QuickFix/n

Recently I started to use Stunnel program with QuickFix/n Engine to connect my VPS server and broker's server. I am getting "Peer suddenly disconnected" error from Stunnel. I am very new to Stunnel and would like to know what are the possible…
auto9817
  • 153
  • 3
  • 12
1
vote
2 answers

stunnel on window for IBM MQ connection

Does anyone have an experience or just thoughts about securing MQ TCP communication channels using stunnel? I am integration with third party S.W which has MQ support built in but it can not support SSL. So to have some kind of security over the…
user171523
  • 4,185
  • 3
  • 35
  • 50
1
vote
0 answers

Configuration Ratchet websocket with stunnel does not work on WSS mode

I have built websocket chat with Ratchet library. With normal mode (ws://) it works well, but with secure mode (wss://) it does not. I have checked and found the solution that should work with stunnel. I have installed and configured the stunnel as…
kikitmp
  • 11
  • 2
1
vote
1 answer

Stunnel no longer works after upgrading to Yosemite

I've been using stunnel for local Django development on SSL-enabled pages for a while, but since upgrading to Yosemite it seems to have stopped working: $ sudo stunnel stunnel/dev_https dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib …
benwad
  • 6,414
  • 10
  • 59
  • 93
1
vote
2 answers

php websocket redirect with stunnel

I built a php websocket server javascript clients to connect to it. It's working fine without SSL. My next Step is to improve security with using wss instead of ws (an so enabling https on the website). My intention is to decrypt incoming traffic…
DrakeBlack
  • 73
  • 1
  • 8
1
vote
1 answer

stunnel certificate verification

I am trying to setup stunnel with certificate verification. I have put verify = 1 in stunnel.conf. I generated a certificate for STunnel server and client and signed with CA (CA setup in lab) : openssl req -out stunnel.csr -new -newkey rsa:2048…
user1191140
  • 1,559
  • 3
  • 18
  • 37
1
vote
0 answers

Secure Websocket (wss / TLS) behind router failing

I just want to preface this question by saying that I have most of this working but that I've been scouring the internet for days trying to find documentation for this one piece of the puzzle. Here's my stack: - Router port forwarding…
1
vote
1 answer

how to set req.connection.proxySecure in node.js/connect application behind stunnel

we have a node.js/express application sitting behind stunnel for ssl termination. I cannot figure out how to force secure session cookies. looking at the session middleware source: // only send secure session cookies when there is a secure…
dgreisen
  • 483
  • 5
  • 9