[Spacewalk-list] Re-generating Spacewalk certs?

William H. ten Bensel WHTENBEN at up.com
Wed May 31 20:03:20 UTC 2017


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.Fouts at Teradata.com>
To:     "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Date:   05/31/2017 02:55 PM
Subject:        Re: [Spacewalk-list] Re-generating Spacewalk certs?
Sent by:        spacewalk-list-bounces at 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-bounces at redhat.com> on behalf of Dimitri Yioulos 
<dyioulos at netatlantic.com>
Reply-To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Date: Wednesday, May 31, 2017 at 3:30 PM
To: "spacewalk-list at redhat.com" <spacewalk-list at 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-bounces at redhat.com [
mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Fouts, Christopher
Sent: Wednesday, May 31, 2017 2:41 PM
To: spacewalk-list at 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 at 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.
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170531/22ebf243/attachment.htm>


More information about the Spacewalk-list mailing list