Resign Spacewalk Certificate

1.- First verify if the current certificate is already expire

#spacewalk-sql -i <<< 'select expires from rhnsatellitecert where created=(select max(created) from rhnsatellitecert);'
        expires
------------------------
 2015-07-13 00:00:00+12
(1 row)

2.- If the certificate is already expired run the following command to resign the certificate

#rhn-satellite-activate --rhn-cert /usr/share/spacewalk/setup/spacewalk-public.cert --disconnected

3.- Check again certificate expired date

#spacewalk-sql -i <<< 'select expires from rhnsatellitecert where created=(select max(created) from rhnsatellitecert);'
        expires
------------------------
 2018-07-13 00:00:00+12
(1 row)
All done

Comments

Popular posts from this blog

How to clean all the foreman task and locked task

Restricting Users to Send mails to Certain Domains on Zimbra 8.5 and above

How to authenticate Satellite web UI users using FreeIPA?