<div dir="ltr">I'm back with more information about my problem.<div><br></div><div>I put squid in front of <a href="https://fr.wikipedia.org" target="_blank">https://fr.wikipedia.org</a>, I generated a false certificate for my test to avoid problems with my browser and... I still have a problem with squid, the same as before.</div><div><br></div><div>I'm thinking that my problem does not come from the upstream certificate itself (which could be the case with ours, but I don't think about wikipedia's ;) and that the root cause is my custom squid build.</div><div><br></div><div>I'm running squid Debian Jessie version 3.4.8-6+deb8u4 and I recompiled adding the following options:</div><div>- --enable-ssl --with-open-ssl="/etc/ssl/openssl.cnf"</div><div>- --enable-ssl --with-open-ssl</div><div>- --enable-ssl</div><div>- --enable-ssl --with-open-ssl --with-ssl-crtd</div><div><br></div><div>I tried these combinations and none of them solve my problem. I think I may be missing some important compilation option but I can't find which.</div><div><br></div><div>Output of squid -v</div><div><br></div><div><div><font face="monospace, monospace">Squid Cache: Version 3.4.8</font></div><div><font face="monospace, monospace">Debian linux</font></div><div><font face="monospace, monospace">configure options:  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--enable-inline' '--disable-arch-native' '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd,rock' '--enable-removal-policies=lru,heap' '--enable-delay-pools' '--enable-cache-digests' '--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth-basic=DB,fake,getpwnam,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB' '--enable-auth-digest=file,LDAP' '--enable-auth-negotiate=kerberos,wrapper' '--enable-auth-ntlm=fake,smb_lm' '--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group' '--enable-url-rewrite-helpers=fake' '--enable-eui' '--enable-esi' '--enable-icmp' '--enable-zph-qos' '--enable-ecap' '--enable-ssl' '--with-open-ssl' '--enable-ssl-crtd' '--disable-translation' '--with-swapdir=/var/spool/squid3' '--with-logdir=/var/log/squid3' '--with-pidfile=/var/run/squid3.pid' '--with-filedescriptors=65536' '--with-large-files' '--with-default-user=proxy' '--enable-build-info=Debian linux' '--enable-linux-netfilter' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'LDFLAGS=-fPIE -pie -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security'</font></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 4, 2017 at 2:14 AM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3/04/2017 8:38 p.m., Eric Veiras Galisson wrote:<br>
<span class="">> On Sun, Apr 2, 2017 at 10:27 AM, Amos Jeffries wrote:<br>
><br>
>> That Squid->server connection has zero difference between the browser<br>
>> and the command line tool connecting to a reverse-proxy, or when both<br>
>> are using opaque (non-Bumped) CONNECT tunnels. So one working and the<br>
>> other not is impossible.<br>
>><br>
><br>
> Yes, I understand this. My problem now is finding what is failing in my<br>
> setup.<br>
><br>
> Eric.<br>
><br>
<br>
</span>I think you are going to have to resort to packet tracing with wireshark<br>
on the Squid->server connection. :-( good luck.<br>
<span class="HOEnZb"><font color="#888888"><br>
Amos<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Eric Veiras Galisson<br></div></div></div>
</div>