Error when running yum on Amazon Linux 2 – "SSL certificate problem: unable to get local issuer certificate"

Published

I have a Docker container based on the latest amazonlinux image running on my work computer and I get this error when I attempt to run yum "anything" (e.g. yum update, yum install ____):

failure: repodata/repomd.xml from amzn2-core: [Errno 256] No more mirrors to try.
https://cdn.amazonlinux.com/2/core/2.0/x86_64/f915d0987d73328ab3992d03ddbce189bca8804de19d89f09b847dfcaa6bc1af/repodata/repomd.xml?instance_id=URLError&region=unknown: [Errno 14] curl#60 - "SSL certificate problem: unable to get local issuer certificate"

Source: Docker Questions

Published
Categorised as amazon-linux-2, docker, proxy, yum Tagged , , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq