Your Satellite Certificate has Expired (Spacewalk)

Renew your satellite certificate for Spacewalk on CentOS 6.

Renew Spacewalk Certificate

Existing certificate’s expiration date:

# grep expires /usr/share/spacewalk/setup/spacewalk-public.cert
  <rhn-cert-field name="expires">2015-07-13 00:00:00</rhn-cert-field>

Here is the new certificate:

# cat /usr/share/spacewalk/setup/spacewalk-public.cert
<?xml version="1.0" encoding="UTF-8"?>
<rhn-cert version="0.1">
 <rhn-cert-field name="product">SPACEWALK-001</rhn-cert-field>
 <rhn-cert-field name="owner">Spacewalk Default Organization</rhn-cert-field>
 <rhn-cert-field name="issued">2007-07-13 00:00:00</rhn-cert-field>
 <rhn-cert-field name="expires">2018-07-13 00:00:00</rhn-cert-field>
 <rhn-cert-field name="slots">20000</rhn-cert-field>
 <rhn-cert-field name="monitoring-slots">20000</rhn-cert-field>
 <rhn-cert-field name="provisioning-slots">20000</rhn-cert-field>
 <rhn-cert-field name="virtualization_host">20000</rhn-cert-field>
 <rhn-cert-field name="virtualization_host_platform">20000</rhn-cert-field>
 <rhn-cert-field name="satellite-version">spacewalk</rhn-cert-field>
 <rhn-cert-field name="generation">2</rhn-cert-field>
 <rhn-cert-signature>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlNg/40ACgkQnnKdrwaUeTIXqwCgmRiTmzFuO7x3bitYPWcJFsZe
UPgAn0kTzWo7xUGDpedM0No9nEnWa84P
=FTXc
-----END PGP SIGNATURE-----
</rhn-cert-signature>
</rhn-cert>

Activate:

# rhn-satellite-activate --rhn-cert /usr/share/spacewalk/setup/spacewalk-public.cert --disconnected
Pushing scout configs to all monitoring scouts

References

http://kernelmanic.com/?p=1
https://www.redhat.com/archives/spacewalk-list/2014-December/msg00034.html

One thought on “Your Satellite Certificate has Expired (Spacewalk)

Leave a Reply

Your email address will not be published. Required fields are marked *