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

Vijay Raghavan P vijairagav210 at gmail.com
Tue Mar 5 06:35:11 CET 2019


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
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20190305/c48ae70d/attachment.html>


More information about the stunnel-users mailing list