From 3973a6ce8667321b0e1f54178ff55a07bf2069cb Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sun, 7 Aug 2016 18:10:23 +0200 Subject: [PATCH] (trust, csr) add optional ou field, closes https://github.com/opnsense/core/issues/1121 --- src/www/system_certmanager.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/www/system_certmanager.php b/src/www/system_certmanager.php index 6ee49e27e..70844fa1f 100644 --- a/src/www/system_certmanager.php +++ b/src/www/system_certmanager.php @@ -464,6 +464,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { 'organizationName' => $pconfig['csr_dn_organization'], 'emailAddress' => $pconfig['csr_dn_email'], 'commonName' => $pconfig['csr_dn_commonname']); + if (!empty($pconfig['csr_dn_organizationalunit'])) { + $dn['organizationalUnitName'] = $pconfig['csr_dn_organizationalunit']; + } if (count($altnames)) { $altnames_tmp = ""; foreach ($altnames as $altname) { @@ -1056,6 +1059,17 @@ $( document ).ready(function() { + + :   + + + + + :