Bug 110994

Summary: SSL Certificate fails with passphrase including spaces
Product: Red Hat Satellite 5 Reporter: Nick Strugnell <nstrug>
Component: InstallerAssignee: Todd Warner <taw>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-26 02:45:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 113026    

Description Nick Strugnell 2003-11-26 13:10:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
The installer prompts for information to generate an SSL certificate
however this fails if the passphrase specified contains spaces,
presumably due to poor quoting in the code.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Run satellite installer
2. When key generation screen appears, enter a passphrase including
spaces in the first field.
3.
    

Actual Results:  Installer does not display success dialogue. Log
indicated failure. Trace indicates useage message from 'openssl
genrsa' has displayed, indicating incorrect useage. Certificate RPM
not generated.

Expected Results:  SSL certificate RPM generated.

Additional info:

Workaround: don't use spaces in passwords.

Comment 1 Todd Warner 2003-11-26 17:45:39 UTC
Mihai has a handle on this... it affects sign.sh as well...
reassigning.

Bumping it's priority as well.

Comment 2 Mihai Ibanescu 2003-12-02 23:33:34 UTC
Should be fixed in HEAD.

Comment 3 Josef Komenda 2004-02-20 19:14:53 UTC
Doesn't lok like this got in the latest - rhn-satellite-3.1.5-5

Traceback (innermost last):
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in
__call__
    ret = apply(self.func, a)
  File "gui.py", line 1492, in onSslCertInfoPageNext
    self.__error(_("ERROR: the password contains an invalid character:
'%s'"
TypeError: not all arguments converted



Comment 4 Mihai Ibanescu 2004-02-24 20:01:27 UTC
Todd says this has been fixed in HEAD. Will build newer satellite ISOs.

Comment 5 Todd Warner 2004-10-26 02:44:14 UTC
Fixed a long... long time ago. Just need to verify.

Comment 6 Todd Warner 2004-10-26 02:45:02 UTC
Oops... nevermind. It's fixed. Closing.