diff options
-rw-r--r-- | usr/local/www/system_camanager.php | 1 | ||||
-rw-r--r-- | usr/local/www/system_certmanager.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php index 3c97725..0033339 100644 --- a/usr/local/www/system_camanager.php +++ b/usr/local/www/system_camanager.php @@ -114,6 +114,7 @@ if ($act == "edit") { if ($act == "new") { $pconfig['method'] = $_GET['method']; $pconfig['keylen'] = "2048"; + $pconfig['digest_alg'] = "sha256"; $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 9a0e530..74d6884 100644 --- a/usr/local/www/system_certmanager.php +++ b/usr/local/www/system_certmanager.php @@ -108,6 +108,7 @@ if ($act == "new") { $pconfig['method'] = $_GET['method']; $pconfig['keylen'] = "2048"; $pconfig['csr_keylen'] = "2048"; + $pconfig['digest_alg'] = "sha256"; $pconfig['type'] = "user"; $pconfig['lifetime'] = "3650"; } |