[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] RHNS-CA-CERT has expired



Ethan,

I think that I figured out what I was missing. I needed to include the "1-" on the activation key.  

I now have a system registered with my spacewalk server.

Thank you once again for the help.

Daryl



On Tue, Nov 4, 2014 at 3:01 PM, Ethan Bonick <ethan bonick truqua com> wrote:

No problem. I cobbled them together from all over the web and from trying to install SUSE Manager 1.7. Glad it helps someone.

 

Regards,

https://lh3.googleusercontent.com/pPQYWyEgd3U9tfRSLCOfyEAjztZRe-j4nPYRdMYrN6FGIZFJEo-O3D-nQ5mhhJA1aetmO-GtoGO7U3mYiw2fDUZIGYNtR5ifQ4hOE_g1rRE0sUqsJlk

Ethan Bonick | Information Technology
TruQua
Mobile 630.445.9313
Office 312.525.8790

CONFIDENTIAL:  This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please reply and notify the sender and delete this copy from your system.

 

 

From: spacewalk-list-bounces redhat com [mailto:spacewalk-list-bounces redhat com] On Behalf Of Daryl Rose
Sent: Tuesday, November 4, 2014 2:42 PM
To: spacewalk-list redhat com
Subject: Re: [Spacewalk-list] RHNS-CA-CERT has expired

 

Thank you Ethan.  I've been looking all over for this information.  If its in the WIKI, I haven't seen it.  

 

Daryl

 

On Tue, Nov 4, 2014 at 2:23 PM, Ethan Bonick <ethan bonick truqua com> wrote:

Your spacewalk server. http://spacewalk-server/pub Here are the steps I use to register a client. These steps are for CentOS 7. Make sure to use your activation key.

 

sudo rpm -Uvh http://spacewalk.redhat.com/yum/2.2-client/RHEL/7/x86_64/spacewalk-client-repo-2.2-1.el7.noarch.rpm

 

sudo rpm -Uvh http://mirror.us.leaseweb.net/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

 

sudo rpm -Uvh http://spacewalk/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm

 

sudo yum install spacewalk-client-setup rhncfg-actions osad rhn-setup

 

sudo /usr/sbin/rhnreg_ks --serverUrl=http://spacewalk/XMLRPC --activationkey=1-asdhfakjsdhfkajsdhfkashfkjashfka

 

 

Regards,

https://lh3.googleusercontent.com/pPQYWyEgd3U9tfRSLCOfyEAjztZRe-j4nPYRdMYrN6FGIZFJEo-O3D-nQ5mhhJA1aetmO-GtoGO7U3mYiw2fDUZIGYNtR5ifQ4hOE_g1rRE0sUqsJlk

Ethan Bonick | Information Technology
TruQua
Mobile 630.445.9313
Office 312.525.8790

CONFIDENTIAL:  This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please reply and notify the sender and delete this copy from your system.

 

 

From: spacewalk-list-bounces redhat com [mailto:spacewalk-list-bounces redhat com] On Behalf Of Daryl Rose
Sent: Tuesday, November 4, 2014 2:06 PM
To: spacewalk-list redhat com
Subject: Re: [Spacewalk-list] RHNS-CA-CERT has expired

 

Ethan,

 

/etc/sysconfig/rhn/up2date was originally pointing to /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT, but I dont' have a RHN-ORG-TRUSTED-SSL-CERT.  I a little searching and the resolution for that error was to modify up2date to point to /usr/share/rhn/RHNS-CA-CERT. 

 

Where would I get RHN-ORG-TRUSTED-SSL-CERT?

 

Thanks

 

Daryl

 

 

 

On Tue, Nov 4, 2014 at 1:53 PM, Ethan Bonick <ethan bonick truqua com> wrote:

I had that error before and I had to update /etc/sysconfig/rhn/up2date to point to my /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT. I assume you've downloaded your SSL cert to /usr/share/rhn?

 

I am running into a different ssl issue after joining my test client to a different spacewalk server. 

 

2014-11-04 13:44:47 jabber_lib.connect: Preparing for TLS handshake

Traceback caught:

Traceback (most recent call last):

  File "/usr/share/rhn/osad/jabber_lib.py", line 631, in connect

    ssl.do_handshake()

Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]


Ethan Bonick | Information Technology
TruQua
M 630.445.9313
O 312.525.8790

CONFIDENTIAL:  This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please reply and notify the sender and delete this copy from your system.

 

 

On Tue, Nov 4, 2014 at 11:16 AM, Daryl Rose <rosede12 gmail com> wrote:

I'm standing up a Spacewalk 2.2 server on CentOS 6.6 and the client server that I am working is also CentOS 6.6.  

 

I've made it all the way to registering the client to the Spacewalk server. However, I get the following error:

 

An error has occurred:
The certificate /usr/share/rhn/RHNS-CA-CERT is expired. Please ensure you have the correct certificate and your system time is correct.

 

If you look at the cert, you can see that it in fact expired August 26, 2013.

 

Where can a person get an updated certificate?  

 

Thank you

 

Daryl


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list

 


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list

 


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list

 


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]