summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/system_certmanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_certmanager.php b/src/usr/local/www/system_certmanager.php
index fa52c86..bc2e89d 100644
--- a/src/usr/local/www/system_certmanager.php
+++ b/src/usr/local/www/system_certmanager.php
@@ -414,7 +414,7 @@ if ($_POST['save']) {
$newcert['crt'] = base64_encode($n509);
if ($pconfig['csrtosign'] === "new") {
- $newcert['prv'] = $pconfig['keypaste'];
+ $newcert['prv'] = base64_encode($pconfig['keypaste']);
} else {
$newcert['prv'] = $csrid['prv'];
}
OpenPOWER on IntegriCloud