<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thank you, Eliezer! I will look into it but it appears that the underlying problem is not solvable by design of the mTLS handshake... There are corner cases that can be solved but not the original issue.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 14, 2021 at 2:39 PM Eliezer Croitoru <<a href="mailto:ngtech1ltd@gmail.com">ngtech1ltd@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 lang="EN-US" style="overflow-wrap: break-word;"><div class="gmail-m_-1515746729498458299WordSection1"><p class="MsoNormal">I don’t know about Squid but I assume varnish has this feature:<u></u><u></u></p><p class="MsoNormal"><a href="https://docs.varnish-software.com/varnish-cache-plus/features/backend-ssl/" target="_blank">https://docs.varnish-software.com/varnish-cache-plus/features/backend-ssl/</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">If you just need a GW without caching it should work as expected.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Eliezer<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">----<u></u><u></u></p><p class="MsoNormal">Eliezer Croitoru<u></u><u></u></p><p class="MsoNormal">Tech Support<u></u><u></u></p><p class="MsoNormal">Mobile: +972-5-28704261<u></u><u></u></p><p class="MsoNormal">Email: <a href="mailto:ngtech1ltd@gmail.com" target="_blank"><span style="color:blue">ngtech1ltd@gmail.com</span></a><u></u><u></u></p><p class="MsoNormal">Zoom: Coming soon<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in"><p class="MsoNormal"><b>From:</b> squid-users <<a href="mailto:squid-users-bounces@lists.squid-cache.org" target="_blank">squid-users-bounces@lists.squid-cache.org</a>> <b>On Behalf Of </b>Sergey Maslyakov<br><b>Sent:</b> Thursday, January 14, 2021 9:41 PM<br><b>To:</b> <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br><b>Subject:</b> [squid-users] Mutual TLS for the upstream example<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Folks,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Is the CONNECT tunnel designed in a way that enables it to "enrich" the outgoing connection with mTLS authentication? "tls_outgoing_options" does not seem to work the way I was hoping it does.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">My destination server requires mTLS authentication of the client. I have a valid key-cert pair and I can successfully execute a "curl" command to fetch a document from that server using the key-cert pair at hand.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">I want to put Squid between my clients (Maven, Gradle, Docker Engine, etc) and the server so that clients would be configured to use the instance of Squid as an HTTPS proxy but would not have to be configured with the mTLS key-cert pair.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Here is how I see it:<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Maven --- (HTTPS/CONNECT) ---> Squid (stores my mTLS key-cert pair) --- (mTLS/SSL) ---> Server<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Is this doable within Squid architecture?<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">I got it working using NGINX with some minor hiccups and I was hoping I can do it more elegantly with Squid.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Thank you,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">/Sergey<u></u><u></u></span></p></div></div></div></div></blockquote></div>