Description of problem:
spacewalk-public.cert has expired today, I have an error:
"Your satellite certificate has expired. Please visit the following link for steps on how to request or generate a new certificate: https://access.redhat.com/knowledge/tools/satcert Your satellite enters restricted period in 7 day(s)."
Version-Release number of selected component (if applicable): 2.3
Install spacewalk 2.3, certificate has expired
Steps to Reproduce:
could you try https://github.com/spacewalkproject/spacewalk/wiki/CertCreation as workaround till we provide updated certificate?
I have followed that guide and created my own GPG key and signed a modified spacewalk-public.cert (dated until 2020), I'll import your official cert once its updated.
One thing that is worth mentioning, the signing script (gen-oss-sat-cert.pl) cannot be found if you follow the link in that documentation, https://github.com/spacewalkproject/spacewalk/blob/master/scripts/gen-oss-sat-cert.pl ends up in a 404.
Instead I downloaded the script from the 2.3 branch:
Thank you for noticing that gen-oss-sat-cert.pl can not be found, it's because there are no more entitlements in later versions of Spacewalk (so one way to get rid of entitlement issues would be just to upgrade).
Anyways I've updated the wiki to use https://github.com/spacewalkproject/spacewalk/blob/SPACEWALK-2.3/scripts/gen-oss-sat-cert.pl
Great stuff thanks, we will be looking to upgrade before the end of the year.
Do you know when the new official certificate will be available?
Has there been any update on this (availability of the new official certificate)?
the best solution for you would be to upgrade to Spacewalk 2.5 (or higher) as these versions are not using entitlement certificate anymore.
If for some reason you want to stay at Spacewalk 2.4 (or lower), I've created new entitlement certificate. However I did use different GPG key for signing it so you will need to import it.
Instructions how to import my GPG key, and re-activate Spacewalk can be found here: https://github.com/spacewalkproject/spacewalk/wiki/Refreshing-certificate
Many thanks Tomáš,
Worked a treat!
I'd like to point out that if any of the modules used by https://raw.githubusercontent.com/spacewalkproject/spacewalk/SPACEWALK-2.3/scripts/gen-oss-sat-cert.pl aren't installed, [ie Date::Parse in my case] the script won't work. And of course Spacewalk won't let me install it because of the cert issue at hand.
I can work around it [temporarily install from public repo] but wanted ya'll to be aware.
There appears to be a simpler workaround available here:
Below link is not working for me as I have spacewalk 2.1.
Can you please suggest or I have to upgrade to 2.5?
Spacewalk 2.8 (and older) has already reached it's End Of Life.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before end of life. If you would still like
to see this bug fixed and are able to reproduce it against current version
of Spacewalk 2.9, you are encouraged change the 'version' and re-open it.