[stunnel-users] How to hide proxy password from config file

Vijay Raghavan P vijairagav210 at gmail.com
Sat Feb 16 20:00:19 CET 2019


>
> Hi,
> I have to create tunnel between server and client. Client have proxy
> configured in between.
> So i use below in /etc/stunnel/stunnel.config
>
> pid = /var/run/stunnel.pid
>
> cert = /home/client.crt
>
> key = /home/client.key
>
> options = NO_SSLv2
>
> debug = 7
>
> output = /var/log/stunnel4/stunnel.log
>
> client = yes
>
> CAfile=/home/**chain.pem
>
> verify=2
>
> [test]
>
> protocol = connect
>
> accept = 127.0.0.1:10000
>
> protocolHost = server.xxxx.com:443
>
> connect = <PROXYIP>:<PROXY port>
>
> protocolUsername = user1
>
> protocolPassword = password
>
> protocolAuthentication = Basic
>
>
> then i bring up the service.
>
> With above configuration connection works file.
>
> Now i don't want proxy password to be clear text in this case.
>
> Any pointers plz
>
>
> Thanks,
>
> Vj
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20190217/36e9681b/attachment.html>


More information about the stunnel-users mailing list