Correct wording of CA/Cert CN input validation. Fixes #9234

This commit is contained in:
jim-p 2019-08-27 10:49:18 -04:00
parent 8129d78071
commit 0c51971baf
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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") {