I got that error message when I tried to use YUM on CentOS 6.
Two possible issues and solutions:
1. system time is incorrect.
2. ca-cert needs to be updated.
For #1, install NTP and set date/time:
- yum install ntp npdate
- chkconfig ntpd on
- ntpdate pool.ntp.org
- service ntpd start
For #2, update CA-cert: yum update -y ca-certificates
No comments:
Post a Comment