Please be aware that Squid-3.5 is no longer supported. Especially when
using SSL-Bump features.
You have configured your proxy to generate certificates without any
information about the server being contacted. The behaviour described is
expected to occur with that config.
Please direct this request for help to the squid-users mailing list.