forked from I2P_Developers/i2p.i2p
fail if cert expires within 60 days
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Run 'openssl x509' or 'certtool -i' on all certificate files
|
# Run 'openssl x509' or 'certtool -i' on all certificate files
|
||||||
# Returns nonzero on failure. Fails if cert cannot be read or is older than
|
# Returns nonzero on failure. Fails if cert cannot be read or is older than
|
||||||
# $SOON (default 30).
|
# $SOON (default 60).
|
||||||
#
|
#
|
||||||
# Hard dependency: OpenSSL OR gnutls
|
# Hard dependency: OpenSSL OR gnutls
|
||||||
# Recommended: GNU date
|
# Recommended: GNU date
|
||||||
@ -13,9 +13,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# How soon is too soon for a cert to expire?
|
# How soon is too soon for a cert to expire?
|
||||||
# By default <= 30 will fail. 60 < x < 30 will warn.
|
# By default <= 60 will fail. 90 < x < 60 will warn.
|
||||||
WARN=60
|
WARN=90
|
||||||
SOON=30
|
SOON=60
|
||||||
|
|
||||||
|
|
||||||
date2julian() {
|
date2julian() {
|
||||||
|
Reference in New Issue
Block a user