Commit f799bf02 authored by Nigel McNie's avatar Nigel McNie
Browse files

Bump the default key life to 365 days, up from 28. We will be properly fixing...

Bump the default key life to 365 days, up from 28. We will be properly fixing keyswap soon, this is just a stopgap.
(cherry picked from commit f923e64c)
parent d4dfe920
......@@ -978,7 +978,7 @@ class OpenSslRepo {
$new_key = openssl_pkey_new();
$csr_rsc = openssl_csr_new($dn, $new_key, array('private_key_bits',2048));
$selfSignedCert = openssl_csr_sign($csr_rsc, null, $new_key, 28 /*days*/);
$selfSignedCert = openssl_csr_sign($csr_rsc, null, $new_key, 365 /*days*/);
unset($csr_rsc); // Free up the resource
// We export our self-signed certificate to a string.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment