I believe this can be done:

Linux 6: update /etc/hosts, /etc/sysconfig/network and hostname with what 
you want it to be. 
Linux 7: update /etc/hosts and /etc/hostname

Then regenerate the SSL.


- Thanks and good luck



From:   "Fouts, Christopher" <christopher.fo...@teradata.com>
To:     "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
Date:   05/31/2017 02:55 PM
Subject:        Re: [Spacewalk-list] Re-generating Spacewalk certs?
Sent by:        spacewalk-list-boun...@redhat.com



This email originated from outside of the company. Please use discretion 
if opening attachments or clicking on links. 
Thanks. I believe that spacewalk-setup just calls the rhn-ssl.
 
For AWS instances, hostname is usually ip-10-xx-xx-xx.ec2.instance for 
example. I do however, put a load balancer in front of my AWS instance, 
and create a Route 53 CNAME, for exmpale, td-spacewalk.company.com. I want 
the Certs to have the td-spacewalk.company.com as CN, instead of 
ip-10-xx-xx-xx.ec2.instance.
 
Chris
 
From: <spacewalk-list-boun...@redhat.com> on behalf of Dimitri Yioulos 
<dyiou...@netatlantic.com>
Reply-To: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
Date: Wednesday, May 31, 2017 at 3:30 PM
To: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
Subject: Re: [Spacewalk-list] Re-generating Spacewalk certs?
 
Chris,
 
1.      I think you can use rhn-ssl to generate the new cert.  See  
https://access.redhat.com/solutions/10809 .
2.      CN should be the fqdn of your spacewalk server.
 
HTH
 
Dimitri
 
From: spacewalk-list-boun...@redhat.com [
mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Fouts, Christopher
Sent: Wednesday, May 31, 2017 2:41 PM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Re-generating Spacewalk certs?
 
I have two questions regaring SW certs?
1.                  How can I regenerate certs, just by running 
spacewalk-setup, and simply don’t touch the DB?
2.                  If using an answer file, how do I set the common name 
(CN)?
 
Thanks,
ChrisThis email originated from outside of the company.  Please use 
discretion if opening attachments or clicking on links.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to