1 |
jcrisp |
1.1 |
diff -ruN phpki-ng.old/phpki-ng-0.84/ca/request_cert.php phpki-ng/phpki-ng-0.84/ca/request_cert.php |
2 |
|
|
--- phpki-ng.old/phpki-ng-0.84/ca/request_cert.php 2021-04-01 11:01:19.810817793 +0200 |
3 |
|
|
+++ phpki-ng/phpki-ng-0.84/ca/request_cert.php 2021-04-01 11:00:54.864420895 +0200 |
4 |
|
|
@@ -209,8 +209,8 @@ |
5 |
|
|
<p><form action='<?php echo $PHP_SELF?>' method=post> |
6 |
|
|
<?php echo $hidden_fields ?> |
7 |
|
|
<input type=hidden name=form_stage value=final> |
8 |
|
|
- <input type=submit name=submit value='Yes. Create and Download' > |
9 |
|
|
- <input type=submit name=submit value='Yes. Just Create' > |
10 |
|
|
+ <input type=submit name=submit value='Yes. Create and Download' > |
11 |
|
|
+ <input type=submit name=submit value='Yes. Just Create' > |
12 |
|
|
<input type=submit name=submit value='Go Back'> |
13 |
|
|
</form> |
14 |
|
|
|
15 |
|
|
@@ -234,7 +234,7 @@ |
16 |
|
|
break; |
17 |
|
|
|
18 |
|
|
case 'final': |
19 |
|
|
- if ($submit == "Yes Create and Download" || $submit == "Yes. Just Create") { |
20 |
|
|
+ if ($submit == "Yes. Create and Download" || $submit == "Yes. Just Create") { |
21 |
|
|
if (! $serial = CAdb_in($email, $common_name)) { |
22 |
|
|
list($ret,$errtxt) = CA_create_cert($cert_type, $country, $province, $locality, $organization, $unit, $common_name, $email, $expiry, $passwd, $keysize, $dns_names, $ip_addr); |
23 |
|
|
|
24 |
|
|
@@ -263,7 +263,7 @@ |
25 |
|
|
} |
26 |
|
|
} |
27 |
|
|
|
28 |
|
|
- if ($submit == "Yes Create and Download") { |
29 |
|
|
+ if ($submit == "Yes. Create and Download") { |
30 |
|
|
switch ($cert_type) { |
31 |
|
|
case 'server': |
32 |
|
|
# upload(array("$config[private_dir]/$serial-key.pem","$config[new_certs_dir]/$serial.pem",$config['cacert_pem']), "$common_name ($email).pem",'application/pkix-cert'); |