[stunnel-users] stunnel through httpd

Chatty chatty at gmx.de
Sun Jun 7 16:54:10 CEST 2009


Hello,

I've got the crazy idea to run stunnel behind an existing, SSL-enabled,
basic-auth-using httpd. Configuration would be as follows:

1. put some stunnel.cgi into /usr/www/cgi-bin which would call stunnel
binary

2. start stunnel client with -r
https://login:passwd@myhost.org/cgi-bin/stunnel.cgi

Advantages (assumed you're behind a proxy which allows only 443 as outgoing
port):

a. You can still access other WebIFs on that server.
b. You don't have to administer another web server including authentication,
certificates and so on.

May be stunnel is not the best tool for the above scenario (I reckon stunnel
is currently unable to fulfill this)... I hope someone can shed  some light
on this.

Cheers, Chatty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20090607/73a79409/attachment.html>


More information about the stunnel-users mailing list