Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
At least on CentOS 6.3 and Fedora 18 (with SELinux) I get the following:
sudo yum install MariaDB-server MariaDB-client
|
|
|
...
|
|
|
Total 541 kB/s | 58 MB 01:49
|
Retrieving key from https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
|
|
|
|
GPG key retrieval failed: [Errno 14] Peer cert cannot be verified or peer cert invalid
|
Trying to install it manually, as described at https://mariadb.com/kb/en/installing-mariadb-with-yum/ (on Fedora):
sudo rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
curl: (60) Peer's Certificate has expired.
|
More details here: http://curl.haxx.se/docs/sslcerts.html
|
|
|
curl performs SSL certificate verification by default, using a "bundle"
|
of Certificate Authority (CA) public keys (CA certs). If the default
|
bundle file isn't adequate, you can specify an alternate file
|
using the --cacert option.
|
If this HTTPS server uses a certificate signed by a CA represented in
|
the bundle, the certificate verification probably failed due to a
|
problem with the certificate (it might be expired, or the name might
|
not match the domain name in the URL).
|
If you'd like to turn off curl's verification of the certificate, use
|
the -k (or --insecure) option.
|
error: https://yum.mariadb.org/RPM-GPG-KEY-MariaDB: import read failed(2).
|
Using http instead of https works. Disabling SELinux also helped.