Bug 470946 - admin console does not place quotes around the certificate name in console.conf
Summary: admin console does not place quotes around the certificate name in console.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: UI - Configuration
Version: 1.1.3
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 249650 FDS1.1.4 FDS1.2.0
TreeView+ depends on / blocked
 
Reported: 2008-11-11 00:15 UTC by Brian J. Atkisson
Modified: 2015-01-04 23:34 UTC (History)
3 users (show)

Fixed In Version: 8.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-29 23:07:47 UTC
Embargoed:


Attachments (Terms of Use)
diffs (1.42 KB, patch)
2008-12-04 14:24 UTC, Rich Megginson
no flags Details | Diff
cvs commit log (187 bytes, text/plain)
2008-12-04 15:56 UTC, Rich Megginson
no flags Details

Description Brian J. Atkisson 2008-11-11 00:15:44 UTC
Description of problem:

When setting up the admin console to use SSL, the console will write out the console.conf file without putting quotes around the certificate name.  If the certificate name has spaces in it, the admin server will refuse to start with:

Syntax error on line 87 of /etc/dirsrv/admin-serv/console.conf:
NSSNickname takes one argument, SSL RSA Server Certificate nickname (`Server-Cert'

Essentially, the NSSNickname certificate name should be placed in quotes 

Version-Release number of selected component (if applicable):
1.1.x and RHDS 8

How reproducible:
Always

Steps to Reproduce:
1. Enable SSL for the admin server in the admin console and select a certificate with a space in the name
2.click save
3.restart dirsrv-admin
  
Actual results:

Syntax error on line 87 of /etc/dirsrv/admin-serv/console.conf:
NSSNickname takes one argument, SSL RSA Server Certificate nickname (`Server-Cert'

Expected results:

dirsrv-admin starts successfully

Additional info:

Manually editing console.conf and place quotes around the NSSNickname certificate name will resolve this issue.

Comment 1 Rich Megginson 2008-11-11 14:44:26 UTC
I'll bet this is somehow related to the other bugs around the console and certificate requests.

Comment 2 Rich Megginson 2008-12-04 14:24:29 UTC
Created attachment 325687 [details]
diffs

Comment 3 Rich Megginson 2008-12-04 15:56:21 UTC
Created attachment 325698 [details]
cvs commit log

Reviewed by: nkinder (Thanks!)
Fix Description: Just put double quotes around the values we write out, including NSSNickname
Platforms tested: RHEL5
Flag Day: no
Doc impact: no

Comment 4 Jenny Severance 2009-02-25 17:51:54 UTC
fix verified DS 8.1 on RHEL5 -32bit

#   SSL Certificate Nickname:
#   The nickname of the server certificate you are going to use.
NSSNickname "V1 Server-Cert"

Comment 5 Chandrasekar Kannan 2009-04-29 23:07:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-0455.html


Note You need to log in before you can comment on or make changes to this bug.