]> git.ipfire.org Git - thirdparty/squid.git/commit
Validate server certificates without bumping
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 6 Oct 2014 14:53:40 +0000 (17:53 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 6 Oct 2014 14:53:40 +0000 (17:53 +0300)
commitc91d4d4e713e0a8ecb05609adcaaa745766c4d5e
tree4040cd305bbdf7c71e0787943d87aba637ebdd9f
parentff2afd7f596daf34e8c006043362e02cd442ecaa
Validate server certificates without bumping

This patch add support for the "Validate server certificates without bumping"
use case described on the Peek and Splice wiki page:
    http://wiki.squid-cache.org/Features/SslPeekAndSplice

This patch send to the certificate validation helper the  certificates and
errors found in SslBump3 step, even if the splicing mode selected.
In the case the validation helper found errors in certificates an error
page returned to the http client.

The SSL error forwarding is controlled by ACLs along these lines:

   sslproxy_cert_error allow sslBoringErrors
   sslproxy_cert_error allow serversWithInvalidCerts
   sslproxy_cert_error deny all

This is a Measurement Factory project
src/ssl/PeerConnector.cc
src/ssl/PeerConnector.h
src/tunnel.cc