diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-03-08 12:06:13 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-03-08 12:53:40 +0300 |
commit | 42f363fe33835d39afc462fad0ded82f478257c7 (patch) | |
tree | 3c015d6fc45e2732aedc192cb2102c7e16e058e9 /tests/auth/cert | |
parent | 714d0465363b8f997bf5af692268cfc3e9200416 (diff) |
Regenerate expiring test certificates
Diffstat (limited to 'tests/auth/cert')
-rwxr-xr-x | tests/auth/cert | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auth/cert b/tests/auth/cert index 966796a..b246d87 100755 --- a/tests/auth/cert +++ b/tests/auth/cert @@ -4,25 +4,25 @@ # # openssl genrsa 4096 > key.pem -openssl req -x509 -new -key key.pem -days 1825 -config default-openssl.cnf > \ +openssl req -x509 -new -key key.pem -days 36500 -config default-openssl.cnf > \ default-cert.pem cat default-cert.pem | openssl x509 -sha256 -noout -fingerprint | \ sed -n 's/^SHA256 Fingerprint=\(.*\)$/\1/p' >default-cert-fp -openssl req -x509 -new -key key.pem -days 1825 -config mismatch-openssl.cnf > \ +openssl req -x509 -new -key key.pem -days 36500 -config mismatch-openssl.cnf > \ mismatch-cert.pem -openssl req -x509 -new -key key.pem -days 1825 -config noemail-openssl.cnf > \ +openssl req -x509 -new -key key.pem -days 36500 -config noemail-openssl.cnf > \ noemail-cert.pem -openssl req -x509 -new -key key.pem -days 1825 \ +openssl req -x509 -new -key key.pem -days 36500 \ -config subdomain-openssl.cnf > subdomain-cert.pem -openssl req -x509 -new -key key.pem -days 1825 -config self-openssl.cnf > \ +openssl req -x509 -new -key key.pem -days 36500 -config self-openssl.cnf > \ self-cert.pem -openssl req -x509 -new -key key.pem -days 1825 -config self-any-openssl.cnf > \ +openssl req -x509 -new -key key.pem -days 36500 -config self-any-openssl.cnf > \ self-any-cert.pem # Normally, you have no reason to regenerate expired-cert.pem, as need to keep |