[squid-dev] how does Squid 3.5 parse https responce

Alex Rousskov rousskov at measurement-factory.com
Thu Nov 2 14:42:41 UTC 2017


On 02/11/17 15:14, G~D~Lunatic wrote:
> I want to know how the squid parse the body of certificate
> The operation of this part is in which class or function.

If you are asking about modern Squid code doing SslBump, then
Security::HandshakeParser::ParseCertificate() calls OpenSSL d2i_X509()
to parse a certificate.

Otherwise, IIRC, OpenSSL (or equivalent) parses certificates for Squid
(probably using d2i_X509() or some similar internal function).


HTH,

Alex.


More information about the squid-dev mailing list