From e4c313c13ad8a7c6ede8b2f788e6ce530acc0faa Mon Sep 17 00:00:00 2001 From: John Crisp Date: Mon, 8 Mar 2021 14:17:29 +0100 Subject: [PATCH] Add a note that Certificate has been created --- ca/manage_certs.php | 2 +- ca/request_cert.php | 57 ++++++++++++++++++++++++++------------------- 2 files changed, 34 insertions(+), 25 deletions(-) diff --git a/ca/manage_certs.php b/ca/manage_certs.php index 9d81a56..ed7461c 100644 --- a/ca/manage_certs.php +++ b/ca/manage_certs.php @@ -254,7 +254,7 @@ switch ($stage) { - Certificate Password + Certificate Password diff --git a/ca/request_cert.php b/ca/request_cert.php index dac0c90..37f98ab 100644 --- a/ca/request_cert.php +++ b/ca/request_cert.php @@ -205,7 +205,7 @@ switch ($form_stage) { -

Are you sure?

+

Are you sure? After creation you will be returned to the Create Certificate dialogue.

@@ -258,10 +258,11 @@ switch ($form_stage) { break; } else { $serial = $errtxt; + // We could add 'return to index or create another certificate' } } } - + if ($submit == "Yes Create and Download") { switch ($cert_type) { case 'server': @@ -278,12 +279,12 @@ switch ($form_stage) { upload($config['pfx_dir'] . "/$serial.pfx", $rec['common_name'] . ".p12", 'application/x-pkcs12'); break; } - + # Clear common_name fields $common_name = ''; break; } - + # Clear common_name fields $common_name = ''; @@ -333,49 +334,57 @@ switch ($form_stage) { printHeader(); ?> - + - + "; + echo ""; + } + ?> - + - + - + - + - + - + - + - + - + - + - + - + - + - +

Certificate Request Form

Previous Certificate Created successfully

$serial

Create another or go to back to the Menu

Menu
Common Name *
(i.e. User real name or computer hostname - used as SubjectAltName)
E-mail Address *
Organization (Company/Agency) *Organization(Company/Agency) *
Department/Unit *
Locality (City/County) *Locality(City/County) *
State/Province *
Country *
Certificate Password *
(Min 8 chars - Mandatory for Email,SSL Client,Code signing)
   Again +    Again + +
Certificate Life*
Key Size*
Certificate Use:* Alternative DNS Names
(only one per Line)