
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

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

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@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

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@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@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@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
participants (2)
-
Flo Rance
-
Vijay Raghavan P