<div dir="ltr"><div>You can't.</div><div><br></div><div>And it's only a proxy password, transmitted in a local environment.</div><div><br></div><div>Flo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 5, 2019 at 6:35 AM Vijay Raghavan P <<a href="mailto:vijairagav210@gmail.com">vijairagav210@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Can someone help me with this? <br><div>Password is shown as plain text in config file. How can i use encrypted password or hide password ?</div><div><br></div><div>Thanks,</div><div>Vijay</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 17, 2019 at 12:30 AM Vijay Raghavan P <<a href="mailto:vijairagav210@gmail.com" target="_blank">vijairagav210@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;font-variant-ligatures:normal">Hi,</span></span></p><div>I have to create tunnel between server and client. Client have proxy configured in between. </div><div>So i use below in <span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">/etc/stunnel/stunnel.config</span></div><div><br></div><div><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">pid = /var/run/stunnel.pid</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">cert = /home/client.crt</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">key = /home/client.key</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">options = NO_SSLv2</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">debug = 7</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">output = /var/log/stunnel4/stunnel.log</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">client = yes</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">CAfile=/home/**chain.pem</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">verify=2</span></p></div><div><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">[test]</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">protocol = connect</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">accept = <a href="http://127.0.0.1:10000/" target="_blank">127.0.0.1:10000</a></span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">protocolHost = <a href="http://server.xxxx.com:443/" target="_blank">server.xxxx.com:443</a></span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">connect = <PROXYIP>:<PROXY port></span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">protocolUsername = user1</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">protocolPassword = password</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">protocolAuthentication = Basic</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">then i bring up the service. <br></span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures">With above configuration connection works file. </span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Now i don't want proxy password to be clear text in this case. </span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><font face="Menlo" color="#000000"><span style="font-size:11px;font-variant-ligatures:no-common-ligatures">Any pointers plz</span></font></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Thanks,</span></p><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Vj</span></p></div><p class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_1736117942019947890gmail-m_-6067886275824113759gmail-m_-3818949532441203677gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p></div>
</blockquote></div></div>
</blockquote></div>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" rel="noreferrer" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
</blockquote></div>