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