From 0677fbbf2cf966534cf5f0ab64cd6b0f1edb590a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ka=C5=A1p=C3=A1rek?= Date: Mon, 16 Jul 2018 13:49:18 +0200 Subject: [PATCH] Created Refreshing certificate (markdown) --- Refreshing-certificate.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Refreshing-certificate.md diff --git a/Refreshing-certificate.md b/Refreshing-certificate.md new file mode 100644 index 00000000..abf52cc2 --- /dev/null +++ b/Refreshing-certificate.md @@ -0,0 +1,16 @@ +Issue: Spacewalk 2.4 (and previous versions) has expired on 2018-07-13 + +Solution: Upgrade Spacewalk to 2.5 (which does not use entitlement certificates anymore) + +OR + +download following gpg public key which was used for signing the entitlement certificate: +`wget https://raw.githubusercontent.com/spacewalkproject/spacewalk/SPACEWALK-2.4/branding/setup/spacewalk-cert-key.gpg` + +import the key: `gpg --keyring /etc/webapp-keyring.gpg --no-default-keyring --import spacewalk-cert-key.gpg` + +NOTE: keyring path might differ, the default is `/etc/webapp-keyring.gpg` if you have changed it, look for `web.gpg_keyring` in `/usr/share/rhn/config-defaults/rhn_web.conf` and `/etc/rhn/rhn.conf` + +and then download the updated entitlement certificate: `wget https://raw.githubusercontent.com/spacewalkproject/spacewalk/SPACEWALK-2.4/branding/setup/spacewalk-public.cert` + +and import it: `rhn-satellite-activate --disconnected --rhn-cert=spacewalk-public.cert` \ No newline at end of file