]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix expiration of self-signed generated certs to be 3 years (#501)
authorJames DeFelice <james.defelice@gmail.com>
Mon, 28 Oct 2019 10:53:51 +0000 (10:53 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sat, 2 Nov 2019 23:08:29 +0000 (12:08 +1300)
commit73c8986f898712e49907c8d171eb73234da0d3ff
tree37ac72eed455ee2838a8c487b797d990103075df
parent6f2841090dffbec1a2b2417e18bb3dc71d62dd2e
Fix expiration of self-signed generated certs to be 3 years (#501)

Generated self-signed certificates lifetime was incorrectly set to
356*3 days, which is approximately 27 days shorter than 3 years.

The fixed problem does not affect Squids using "sslproxy_cert_adapt
setValidAfter" and Squids using a configured signing CA certificate.
src/ssl/gadgets.cc