LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-04-2010, 01:09 PM   #1
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 175

Rep: Reputation: 15
yum expired certificate?


RHEL 5.4

[joliver@mdadb ~]$ sudo yum clean all
Loaded plugins: dellsysidplugin, rhnplugin
Cleaning up Everything
[joliver@mdadb ~]$ sudo yum update
Loaded plugins: dellsysidplugin, rhnplugin
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
self.conf
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig
self.plugins.run('init')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 111, in init_hook
login_info = up2dateAuth.getLoginInfo()
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 217, in getLoginInfo
login()
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 184, in login
li = server.up2date.login(systemId)
File "/usr/share/rhn/up2date_client/rhnserver.py", line 64, in __call__
raise up2dateErrors.SSLCertificateVerifyFailedError()
up2date_client.up2dateErrors.SSLCertificateVerifyFailedError: The certificate is expired. Please ensure you have the correct certificate and your system time is correct.
 
Old 01-04-2010, 06:04 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Now I don't use RHEL, but all you've shown is that the YUM Python program raised an exception because your certificate expired.

So, what's your question? (May I presume that you do know that RHEL requires an annual subscription?)
 
Old 01-04-2010, 11:30 PM   #3
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 175

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PTrenholme View Post
Now I don't use RHEL, but all you've shown is that the YUM Python program raised an exception because your certificate expired.

So, what's your question? (May I presume that you do know that RHEL requires an annual subscription?)
You may absolutely so presume. The system in question has a valid entitlement. The certificate here almost certainly has nothing to do with that.

I "fixed" this by copying back the RPM database files I'd been having trouble with (this error came about because I moved them off and gave an rpm --rebuilddb) and fixed my original issue with some other hoodoo.
 
Old 01-05-2010, 02:30 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,024

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
this is what you forgot to do AFTER running "yum clean all"
was this
Code:
rpm --rebuilddb
see
" rpm --help " and " man rpm "
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Expired Microsoft rights management certificate locks out Office 2003 users LXer Syndicated Linux News 0 12-15-2009 08:00 PM
Building a certificate chain from the certificate using openSSL aravinda78 Linux - Security 1 11-10-2008 01:51 AM
Can I retrieve certificate expiry date from an openssl certificate (command line) davee Linux - Security 1 07-21-2006 10:28 AM
https SSL Certificate Expired lothario Linux - Security 1 01-19-2005 09:42 PM
can't update up2date after expired certificate LeechBot Red Hat 28 05-15-2004 11:35 AM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration