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

Flo Rance trourance at gmail.com
Tue Mar 5 08:42:53 CET 2019


You can't.

And it's only a proxy password, transmitted in a local environment.

Flo

On Tue, Mar 5, 2019 at 6:35 AM Vijay Raghavan P <vijairagav210 at gmail.com>
wrote:

> Can someone help me with this?
> Password is shown as plain text in config file. How can i use encrypted
> password or hide password ?
>
> Thanks,
> Vijay
>
> On Sun, Feb 17, 2019 at 12:30 AM Vijay Raghavan P <vijairagav210 at gmail.com>
> wrote:
>
>> 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
>>>
>>>
>>> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20190305/7f0c8e9e/attachment-0001.html>


More information about the stunnel-users mailing list