Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
curl#60 - "Peer's Certificate issuer is not recognized.

When I try to install a package in Oracle versions 7, 8 I have the following error
Oracle Linux 7
failure: repodata/repomd.xml from ol7_UEKR6: [Errno 256] No more mirrors to try.
https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate issuer is not recognize
Oracle Linux 8
Oracle Linux 8 BaseOS Latest (x86_64) 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'ol8_baseos_latest':
- Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/repodata/repomd.xml [SSL certificate problem: unable to get local issuer certificate]
Error: Failed to download metadata for repo 'ol8_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I tried deactivating the repositories, installing the certificates and deleting and cleaning the cache but nothing, if anyone knows how to solve it I appreciate the help
Best Answer
-
Hi,
This isn't correct, but it can help: If using 'dnf' edit the /etc/yum.conf file and add the line: sslverify=false. And try again.
In the case of 'curl' you can try using the parameter: --insecure.
Maybe it helps.
Answers
-
Hi,
This isn't correct, but it can help: If using 'dnf' edit the /etc/yum.conf file and add the line: sslverify=false. And try again.
In the case of 'curl' you can try using the parameter: --insecure.
Maybe it helps.
-
Thanks, it worked correctly with the first configuration
👍️
-
I'm glad about that. But for security reasons, change from 'false' to 'true' or comment out the line.
Use this shortcut only when necessary.
-
Thanks @VolneiCP, ok no problem