Revision 813c6673
Added by NOYB NOYB about 9 years ago
src/usr/local/www/system_certmanager.php | ||
---|---|---|
342 | 342 |
break; |
343 | 343 |
case "email": |
344 | 344 |
if (empty($altname['value'])) { |
345 |
array_push($input_errors, "You must provide an e-mail address for this type of subjectAltName");
|
|
345 |
array_push($input_errors, "An e-mail address must be provided for this type of subjectAltName");
|
|
346 | 346 |
} |
347 | 347 |
if (preg_match("/[\!\#\$\%\^\(\)\~\?\>\<\&\/\\\,\"\']/", $altname['value'])) { |
348 | 348 |
array_push($input_errors, "The e-mail provided in a subjectAltName contains invalid characters."); |
... | ... | |
651 | 651 |
if (!$internal_ca_count) { |
652 | 652 |
$section->addInput(new Form_StaticText( |
653 | 653 |
'Certificate authority', |
654 |
gettext('No internal Certificate Authorities have been defined. You must '). |
|
655 |
'<a href="system_camanager.php?act=new&method=internal"> '. gettext(" create") .'</a>'. |
|
656 |
gettext(' an internal CA before creating an internal certificate.') |
|
654 |
gettext('No internal Certificate Authorities have been defined. '). |
|
655 |
gettext('An internal CA must be defined in order to create an internal certificate. '). |
|
656 |
'<a href="system_camanager.php?act=new&method=internal"> '. gettext("Create") .'</a>'. |
|
657 |
gettext(' an internal CA.') |
|
657 | 658 |
)); |
658 | 659 |
} else { |
659 | 660 |
$allCas = array(); |
... | ... | |
926 | 927 |
$pconfig['csr'] |
927 | 928 |
))->setReadonly() |
928 | 929 |
->setWidth(7) |
929 |
->setHelp('Copy the certificate signing data from here and forward it to your certificate authority for signing.');
|
|
930 |
->setHelp('Copy the certificate signing data from here and forward it to a certificate authority for signing.');
|
|
930 | 931 |
|
931 | 932 |
$section->addInput(new Form_Textarea( |
932 | 933 |
'cert', |
933 | 934 |
'Final certificate data', |
934 | 935 |
$pconfig['cert'] |
935 | 936 |
))->setWidth(7) |
936 |
->setHelp('Paste the certificate received from your certificate authority here.');
|
|
937 |
->setHelp('Paste the certificate received from the certificate authority here.');
|
|
937 | 938 |
|
938 | 939 |
if (isset($id) && $a_cert[$id]) { |
939 | 940 |
$section->addInput(new Form_Input( |
Also available in: Unified diff
System - Miscellaneous - Remove Personalizations
Remove "you" personalizations.