]> git.ipfire.org Git - thirdparty/squid.git/commit
Mimic Key Usage and Basic Constraints
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 28 Jan 2013 17:38:00 +0000 (19:38 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 28 Jan 2013 17:38:00 +0000 (19:38 +0200)
commitbee6354eb76e5ad4e8b0afbceceddc6e2c4377aa
tree2b9dbbefe358358d3780f19bc0d7de582397c323
parente857372a737ea966f5f4a7e65270ce20db2fb278
Mimic Key Usage and Basic Constraints

There are cases where the generated certificates do not mimic enough properties
and secure connection with the client fails. For example, Squid does not mimic
Key Usage extensions. Clients using GnuTLS (or similar libraries that validate
server certificate using those extensions) fail to secure the connection with
Squid.

This patch add mimicking for the following extensions, which are considered
as safe to mimic:
    * X509v3 Key Usage
    * X509v3 Extended Key Usage,
    * X509v3 Basic Constraints CA.

We would be happy to add more "safe to mimic" extensions if users request (and
vouch for) them.

This is a Measurement Factory project
src/ssl/gadgets.cc