summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/system_camanager.php2
-rw-r--r--usr/local/www/system_certmanager.php2
-rw-r--r--usr/local/www/system_usermanager_addcert.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php
index b4c15de..19f338d 100644
--- a/usr/local/www/system_camanager.php
+++ b/usr/local/www/system_camanager.php
@@ -88,7 +88,7 @@ if ($act == "del") {
if ($act == "new") {
$pconfig['method'] = $_GET['method'];
$pconfig['keylen'] = "2048";
- $pconfig['lifetime'] = "365";
+ $pconfig['lifetime'] = "3650";
$pconfig['dn_commonname'] = "internal-ca";
}
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php
index 00a155e..97722c7 100644
--- a/usr/local/www/system_certmanager.php
+++ b/usr/local/www/system_certmanager.php
@@ -89,7 +89,7 @@ if ($act == "del") {
if ($act == "new") {
$pconfig['method'] = $_GET['method'];
$pconfig['keylen'] = "2048";
- $pconfig['lifetime'] = "365";
+ $pconfig['lifetime'] = "3650";
}
if ($act == "exp") {
diff --git a/usr/local/www/system_usermanager_addcert.php b/usr/local/www/system_usermanager_addcert.php
index 24b66db..2c9040c 100644
--- a/usr/local/www/system_usermanager_addcert.php
+++ b/usr/local/www/system_usermanager_addcert.php
@@ -67,7 +67,7 @@ foreach ($a_ca as $ca)
if ($_GET) {
$pconfig['keylen'] = "2048";
- $pconfig['lifetime'] = "365";
+ $pconfig['lifetime'] = "3650";
}
if ($_POST) {
OpenPOWER on IntegriCloud