Revision 51583438
Added by Stephen Beaver almost 10 years ago
src/usr/local/www/system_camanager.php | ||
---|---|---|
28 | 28 |
POSSIBILITY OF SUCH DAMAGE. |
29 | 29 |
*/ |
30 | 30 |
/* |
31 |
pfSense_MODULE: certificate_manager
|
|
31 |
pfSense_MODULE: certificate_manager
|
|
32 | 32 |
*/ |
33 | 33 |
|
34 | 34 |
##|+PRIV |
... | ... | |
272 | 272 |
$ca['descr'] = $pconfig['descr']; |
273 | 273 |
$ca['refid'] = $pconfig['refid']; |
274 | 274 |
$ca['serial'] = $pconfig['serial']; |
275 |
$ca['crt'] = base64_encode($pconfig['cert']);
|
|
275 |
$ca['crt'] = base64_encode($pconfig['cert']);
|
|
276 | 276 |
if (!empty($pconfig['key'])) { |
277 |
$ca['prv'] = base64_encode($pconfig['key']);
|
|
277 |
$ca['prv'] = base64_encode($pconfig['key']);
|
|
278 | 278 |
} |
279 | 279 |
} else { |
280 | 280 |
$old_err_level = error_reporting(0); /* otherwise openssl_ functions throw warnings directly to a page screwing menu tab */ |
Also available in: Unified diff
Fixed #5023
Added jQuery to populate the certificate details from the selected CA