Bug 693290 - rhn-ssl-tool will not update the cnf file settings if the fqdn changes
Summary: rhn-ssl-tool will not update the cnf file settings if the fqdn changes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: 540
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: sat550-blockers sat550-post-ga, sat550-test-blockers
TreeView+ depends on / blocked
 
Reported: 2011-04-04 08:30 UTC by Felix Dewaleyne
Modified: 2018-11-29 21:54 UTC (History)
7 users (show)

Fixed In Version: spacewalk-certs-tools-1.7.3-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-19 10:11:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Felix Dewaleyne 2011-04-04 08:30:27 UTC
Description of problem:
If we generate a certificate to change the FQDN part of the hostname value, the new certificate generated is still using the old FQDN

Version-Release number of selected component (if applicable):
spacewalk-certs-tools-1.1.1.1

How reproducible:
all the time

Steps to Reproduce:
1.rhn-ssl-tool --gen-server -v --set-hostname="test.broken.fqdn" --set-country="GB" --set-state="Hampshire" --set-city="Raleigh" --set-org="Red Hat" --set-org-unit="GSS EMEA" --set-email="emea-gss-lab"
2.rhn-ssl-tool --gen-server -v --set-hostname="test.fixed.fqdn" --set-country="GB" --set-state="Hampshire" --set-city="Raleigh" --set-org="Red Hat" --set-org-unit="GSS EMEA" --set-email="emea-gss-lab"

  
Actual results:
the new certificate generated still uses the old fqdn ; the hostname field is not altered in the .cnf file that's used in the generation either

Expected results:
a new certificate with the new fqdn is generated

Additional info:
it is possible to manually fix this by changing the hostname value in the .cnf file to what's supposed to be used.

this also happens when the first hostname was given without any fqdn on the first time.

Comment 11 Jan Pazdziora 2012-07-04 10:02:56 UTC
Making bugzilla public.

Comment 12 Jan Pazdziora 2012-07-04 10:04:00 UTC
Fixed in Spacewalk master, eb03cacd442bc4819a9f62c16fb23a0adb169148.


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