You can use spacewalk-hostname-rename to regenerate the SSL certificate with the proper name, but that will require you to re-register your proxies and clients using this new certificate. There may be a simpler way to do this, but I don't currently know of one.
On Thu, Feb 12, 2015 at 11:36 PM, Brian Musson <[email protected]> wrote: > Hi Matthew. > > They are indeed different! > > How do you suggest i remediate the situation? The hostname in the > certificate is wrong, but the hostname in rhn.conf is correct. > > I have two proxy's communicating with this Spacewalk server along with > clients talking to both the proxies and directly to the Spacewalk server. > > Thanks for your prompt response. > > Brian > > BM > > On Thu, Feb 12, 2015 at 9:24 PM, Matthew Madey <[email protected]> > wrote: > >> Check /etc/rhn/rhn.conf and make sure the below 2 variables match the >> hostname of your Spacewalk server >> >> server.jabber_server = yourspacewalk.server.com >> osa-dispatcher.jabber_server = yourspacewalk.server.com >> >> Also, verify that the hostname listed in your SSL certificate matches the >> hostname of your Spacewalk server.. >> >> /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT >> >> On Thu, Feb 12, 2015 at 10:43 PM, Brian Musson <[email protected]> wrote: >> >>> Hi everybody, this is my first post. I have a new Spacewalk 2.2 server >>> up and running, but systems are not picking up tasks. Upon further >>> investigation, I have found that the /var/log/rhn/osa-dispatcher.log on my >>> spacewalk server says what is pasted below. It states there is a SSL error. >>> I can not "OSA Ping" the systems, either. I did the following per another >>> message I found a link to an older mailing list post that was unanswered. I >>> followed the steps the mailing list suggested on both the client and the >>> server. Anybody have suggestions or know whats going on? >>> >>> *Link to mailing list thread:* >>> >>> https://www.redhat.com/archives/spacewalk-list/2014-August/msg00103.html >>> >>> >>> *commands run on spacewalk server:* >>> >>> service jabberd stop >>> rm -Rf /var/lib/jabberd/db/* >>> service jabberd start >>> >>> *then commands ran on spacewalk clients:* >>> >>> service osad stop >>> rm /etc/sysconfig/rhn/osad-auth.conf >>> service osad start >>> >>> *Error message in /var/log/rhn/osa-dispatcher.log:* >>> >>> 2015/02/12 20:36:01 -07:00 17766 0.0.0.0: osad/jabber_lib.main('ERROR', >>> 'Error caught:') >>> 2015/02/12 20:36:01 -07:00 17766 0.0.0.0: osad/jabber_lib.main('ERROR', >>> 'Traceback (most recent call last):\n File >>> "/usr/share/rhn/osad/jabber_lib.py", line 121, in main\n >>> self.process_forever(c)\n File "/usr/share/rhn/osad/jabber_lib.py", line >>> 179, in process_forever\n self.process_once(client)\n File >>> "/usr/share/rhn/osad/osa_dispatcher.py", line 182, in process_once\n >>> client.retrieve_roster()\n File "/usr/share/rhn/osad/jabber_lib.py", line >>> 729, in retrieve_roster\n stanza = self.get_one_stanza()\n File >>> "/usr/share/rhn/osad/jabber_lib.py", line 801, in get_one_stanza\n >>> self.process(timeout=tm)\n File "/usr/share/rhn/osad/jabber_lib.py", line >>> 1055, in process\n data = self._read(self.BLOCK_SIZE)\nSSLError: >>> (\'OpenSSL error; will retry\', "(-1, \'Unexpected EOF\')")\n') >>> 2015/02/12 20:36:05 -07:00 17777 0.0.0.0: osad/jabber_lib.main('ERROR', >>> 'Error caught:') >>> 2015/02/12 20:36:05 -07:00 17777 0.0.0.0: osad/jabber_lib.main('ERROR', >>> 'Traceback (most recent call last):\n File >>> "/usr/share/rhn/osad/jabber_lib.py", line 121, in main\n >>> self.process_forever(c)\n File "/usr/share/rhn/osad/jabber_lib.py", line >>> 179, in process_forever\n self.process_once(client)\n File >>> "/usr/share/rhn/osad/osa_dispatcher.py", line 182, in process_once\n >>> client.retrieve_roster()\n File "/usr/share/rhn/osad/jabber_lib.py", line >>> 729, in retrieve_roster\n stanza = self.get_one_stanza()\n File >>> "/usr/share/rhn/osad/jabber_lib.py", line 801, in get_one_stanza\n >>> self.process(timeout=tm)\n File "/usr/share/rhn/osad/jabber_lib.py", line >>> 1055, in process\n data = self._read(self.BLOCK_SIZE)\nSSLError: >>> (\'OpenSSL error; will retry\', "(-1, \'Unexpected EOF\')")\n') >>> >>> Regards, >>> Brian >>> >>> BM >>> >>> _______________________________________________ >>> Spacewalk-list mailing list >>> [email protected] >>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>> >> >> >> _______________________________________________ >> Spacewalk-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/spacewalk-list >> > > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
