]> git.ipfire.org Git - thirdparty/squid.git/commit - src/security/cert_generators/file/security_file_certgen.cc
Certificate mimicking
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 16 Dec 2011 17:17:57 +0000 (19:17 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 16 Dec 2011 17:17:57 +0000 (19:17 +0200)
commit9a90aacefcc5fd89985dd260d9bf3b2b755cee27
tree2fadab1f179329d7b30471ee4f9472da3e03f0ce
parent819c207f6625f05171c29346aeb622ed1fb92e5f
Certificate mimicking

This patch try to mimic true server certificate properties when generating
a fake SSL certificate for SslBump. If ssl_crtd is enabled, it receives the
true server certificate and mimic its properties. Otherwise, the certificate
mimicking code will run in the worker.

Currently the following properties mimicked: subject name, not before/after,
and subject alternate name.
src/client_side.cc
src/ssl/gadgets.cc
src/ssl/gadgets.h
src/ssl/ssl_crtd.cc
src/ssl/support.cc
src/ssl/support.h