From 0c51971bafc708dc034663f79c04c7d187ddeece Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 27 Aug 2019 10:49:18 -0400 Subject: [PATCH] Correct wording of CA/Cert CN input validation. Fixes #9234 --- src/usr/local/www/system_camanager.php | 4 ++-- src/usr/local/www/system_certmanager.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/usr/local/www/system_camanager.php b/src/usr/local/www/system_camanager.php index 3d9f9ea2ec..9897f86b32 100644 --- a/src/usr/local/www/system_camanager.php +++ b/src/usr/local/www/system_camanager.php @@ -186,7 +186,7 @@ if ($_POST['save']) { gettext("Descriptive name"), gettext("Key length"), gettext("Lifetime"), - gettext("Distinguished name Common Name")); + gettext("Common Name")); } if ($pconfig['method'] == "intermediate") { $reqdfields = explode(" ", @@ -196,7 +196,7 @@ if ($_POST['save']) { gettext("Signing Certificate Authority"), gettext("Key length"), gettext("Lifetime"), - gettext("Distinguished name Common Name")); + gettext("Common Name")); } do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); diff --git a/src/usr/local/www/system_certmanager.php b/src/usr/local/www/system_certmanager.php index 41e9c054de..bb5cc32250 100644 --- a/src/usr/local/www/system_certmanager.php +++ b/src/usr/local/www/system_certmanager.php @@ -248,7 +248,7 @@ if ($_POST['save']) { gettext("Key length"), gettext("Certificate Type"), gettext("Lifetime"), - gettext("Distinguished name Common Name")); + gettext("Common Name")); } if ($pconfig['method'] == "external") { @@ -257,7 +257,7 @@ if ($_POST['save']) { $reqdfieldsn = array( gettext("Descriptive name"), gettext("Key length"), - gettext("Distinguished name Common Name")); + gettext("Common Name")); } if ($pconfig['method'] == "existing") {