Also remember that “serverURL=” in the up2date file must match the CN.
From: [email protected] [mailto:[email protected]] On Behalf Of William H. ten Bensel Sent: Wednesday, May 31, 2017 4:03 PM To: [email protected] Subject: Re: [Spacewalk-list] Re-generating Spacewalk certs? 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" <[email protected]<mailto:[email protected]>> To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: 05/31/2017 02:55 PM Subject: Re: [Spacewalk-list] Re-generating Spacewalk certs? Sent by: [email protected]<mailto:[email protected]> ________________________________ 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: <[email protected]<mailto:[email protected]>> on behalf of Dimitri Yioulos <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, May 31, 2017 at 3:30 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Fouts, Christopher Sent: Wednesday, May 31, 2017 2:41 PM To: [email protected]<mailto:[email protected]> 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 [email protected]<mailto:[email protected]> 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 [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
