diff options
author | jim-p <jimp@netgate.com> | 2019-02-13 08:37:38 -0500 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-02-13 08:39:03 -0500 |
commit | 978ebbf7c406b0a8bfbe84f955ce85851b298d10 (patch) | |
tree | 641097d86223ecd2e133fc64a6245dd2ed626828 /src/usr/local/www | |
parent | edf4b0fb199ab565a2c404b8cf92a884c3b8aab7 (diff) | |
download | pfsense-978ebbf7c406b0a8bfbe84f955ce85851b298d10.zip pfsense-978ebbf7c406b0a8bfbe84f955ce85851b298d10.tar.gz |
Fix OU Name DN entry when creating a user cert. Fixes #9317
(cherry picked from commit 354b1c750d9eeb9ccf0dc22033c9c813ec88e6f3)
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/system_usermanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_usermanager.php b/src/usr/local/www/system_usermanager.php index cd7b50c..6e95fc1 100644 --- a/src/usr/local/www/system_usermanager.php +++ b/src/usr/local/www/system_usermanager.php @@ -422,7 +422,7 @@ if ($_POST['save']) { $dn['organizationName'] = $subject['O']; } if (!empty($subject['OU'])) { - $dn['organizationalUnit'] = $subject['OU']; + $dn['organizationalUnitName'] = $subject['OU']; } $dn['commonName'] = $userent['name']; $cn_altname = cert_add_altname_type($userent['name']); |