Add a note that Certificate has been created
This commit is contained in:
@@ -205,7 +205,7 @@ switch ($form_stage) {
|
|||||||
|
|
||||||
</tr></table>
|
</tr></table>
|
||||||
|
|
||||||
<h4>Are you sure?</h4>
|
<h4>Are you sure? After creation you will be returned to the Create Certificate dialogue.</h4>
|
||||||
<p><form action='<?php echo $PHP_SELF?>' method=post>
|
<p><form action='<?php echo $PHP_SELF?>' method=post>
|
||||||
<?php echo $hidden_fields ?>
|
<?php echo $hidden_fields ?>
|
||||||
<input type=hidden name=form_stage value=final>
|
<input type=hidden name=form_stage value=final>
|
||||||
@@ -258,6 +258,7 @@ switch ($form_stage) {
|
|||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
$serial = $errtxt;
|
$serial = $errtxt;
|
||||||
|
// We could add 'return to index or create another certificate'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -338,7 +339,12 @@ switch ($form_stage) {
|
|||||||
<form action="<?php echo $PHP_SELF?>" method=post name=request>
|
<form action="<?php echo $PHP_SELF?>" method=post name=request>
|
||||||
<table width=99%>
|
<table width=99%>
|
||||||
<th colspan=2><h3>Certificate Request Form</h3></th>
|
<th colspan=2><h3>Certificate Request Form</h3></th>
|
||||||
|
<?php
|
||||||
|
if ($serial) {
|
||||||
|
echo "<tr><td><h4><font color=red>Previous Certificate Created successfully</font></h4></td><td></h4><font color=red>$serial</font></h4></td></tr>";
|
||||||
|
echo "<tr><td><h4>Create another or go to back to the Menu</h4></td><td><a href='index.php'>Menu</a></td></tr>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=30%>Common Name<font color=red size=3> *</font><br>(i.e. User real name or computer hostname - used as SubjectAltName)</td>
|
<td width=30%>Common Name<font color=red size=3> *</font><br>(i.e. User real name or computer hostname - used as SubjectAltName)</td>
|
||||||
<td><input type=text name=common_name value="<?php echo htvar($common_name)?>" size=50 maxlength=60></td>
|
<td><input type=text name=common_name value="<?php echo htvar($common_name)?>" size=50 maxlength=60></td>
|
||||||
@@ -373,7 +379,10 @@ switch ($form_stage) {
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Certificate Password<font color=red size=3> *</font><br>(Min 8 chars - Mandatory for Email,SSL Client,Code signing)</td>
|
<td>Certificate Password<font color=red size=3> *</font><br>(Min 8 chars - Mandatory for Email,SSL Client,Code signing)</td>
|
||||||
<td><input type=password name=passwd value="<?php echo htvar($passwd) ?>" size=30> Again <input type=password name=passwdv value="<?php echo htvar($passwdv) ?>" size=30></td>
|
<td>
|
||||||
|
<input type=password name=passwd value="<?php echo htvar($passwd) ?>" size=30> Again
|
||||||
|
<input type=password name=passwdv value="<?php echo htvar($passwdv) ?>" size=30>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
Reference in New Issue
Block a user