<div dir="ltr">I was wondering since we do not have any rhel machine and we just have Oracle Linux 5,6,7 and CentOS 7 virtual machines. Could it be possible to solve this cert problem with removing rhn related settings ? I believe this cert issue just about Red Hat subscription. Can spacewalk survive with no red hat bindings ?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-14 16:51 GMT+03:00 jin&hitman&Barracuda <span dir="ltr"><<a href="mailto:jinhitman@gmail.com" target="_blank">jinhitman@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi <br></div>I've got an alert message from our spacewalk (ver 2.4) server.<br></div>The error message is:<br><div><div style="margin-left:40px"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Dear Spacewalk User,<br><br>

This email is being sent to you to inform you that your Spacewalk 
Certificate has expired on your <a href="http://sp-spacewalk.anadolu.com" target="_blank">sp-spacewalk.anadolu.com</a> server. After 7
 day(s) the systems management services provided by your Spacewalk 
Server will be restricted for 24 days.<br>

After that the services will become inaccessible.<br><br><br>

Thank you for using Spacewalk.<br>

--the Spacewalk Team<br></blockquote>





</div><div><div><div><br><br></div><div>I 've search on google and found below links. <br><br>[1] <a href="https://kernelmanic.com/2015/07/14/hello-world/" target="_blank">https://kernelmanic.com/2015/<wbr>07/14/hello-world/</a><br></div><div>[2] <a href="https://github.com/spacewalkproject/spacewalk/wiki/CertCreation" target="_blank">https://github.com/<wbr>spacewalkproject/spacewalk/<wbr>wiki/CertCreation</a><br><br></div><div>The second link referrers by the first one and I did follow links to resolve my issue. According to the second link 4th step, I've edit the file on "/usr/share/spacewalk/setup/<wbr>spacewalk-public.cert" and replace date strings. When I try to run <br>"<a href="http://gen-oss-sat-cert.pl" target="_blank">gen-oss-sat-cert.pl</a>" script it throws error messages. After some more research I just found "<a href="https://www.redhat.com/archives/spacewalk-list/2015-August/msg00013.html" target="_blank">https://www.redhat.com/<wbr>archives/spacewalk-list/2015-<wbr>August/msg00013.html</a>"<br></div><div>link and decided to use their cert definition in our spacewalk server. But no luck. The detailed error message is:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[root@sp-spacewalk ~]# rhn-satellite-activate -vvv --rhn-cert=/usr/share/<wbr>spacewalk/setup/spacewalk-<wbr>public.cert --disconnected<br>HTTP_PROXY: 10.XX.YYY.ZZZ:8090<br>HTTP_PROXY_USERNAME: <userName><br>HTTP_PROXY_PASSWORD: <password><br>CA_CERT: /usr/share/rhn/RHNS-CA-CERT<br>Checking cert XML sanity and GPG signature: '/usr/bin/<a href="http://validate-sat-cert.pl" target="_blank">validate-sat-cert.pl</a> --keyring /etc/webapp-keyring.gpg /etc/sysconfig/rhn/rhn-<wbr>entitlement-cert.xml-LGdLX8'<br>Spacewalk Entitlement Certificate failed to validate.<br>MORE INFORMATION:<br>  Return value: 3<br>  Standard-out: Error: Your satellite certificate signature is not valid.  Please contact your support representative.<br><br>  Standard-error: gpg: Signature made Wed 30 Apr 2014 04:50:05 PM EEST using DSA key ID 06947932<br>gpg: BAD signature from "Red Hat Network (Satellite Certificate Signing Key) <<a href="mailto:rhn-feedback@redhat.com" target="_blank">rhn-feedback@redhat.com</a>>"<br><br><br>ERROR: RHN Entitlement Certificate failed to validate.<br><br>rhn-satellite-activate -vvv --rhn-cert=/usr/share/<wbr>spacewalk/setup/spacewalk-<wbr>public.cert<br>ERROR: Satellite server has been setup to run in disconnected mode.<br>       Either correct server configuration in /etc/rhn/rhn.conf<br>       or use --disconnected to activate it locally.<br></blockquote><br clear="all"><br></div><div>Does anybody know that how can I go further on this ?<br></div><div>Thanks <br></div><div><br></div><div>Fatih<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div class="m_8714629301696065325gmail_signature"><i><span style="color:rgb(102,0,0)">There is no place like "/home"</span></i><br><br></div>
</div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature"><i><span style="color:rgb(102,0,0)">There is no place like "/home"</span></i><br></div><div class="gmail_signature" data-smartmail="gmail_signature"><i>Tuco (Benedicto Pasifico Juan Maria) Ramirez</i><br></div></div></div>
</div>