Fedora, docker and self-signed SSL certs
Posted on April 15, 2015 (Last modified on March 9, 2022) • 1 min read • 121 wordsI am behind a company firewall with a man-in-the-middle SSL certificate for secure connections. Can’t have viruses over SSL, can we?
But apps which actually verify SSL connections (which is all of the apps using standard SSL/TLS/whatnot libs) do not like this. And rightfully so. But then we’re left with the following problem:
$ docker search test
FATA[0000] Error response from daemon: GEt https://index.docker.io/v1/search?q=test: x509: certificate signed by unknown authority
$
Now, to solve this on Fedora we do the following (all as root):
A “man update-ca-trust” is also helpful to understand what’s happening.
Sources: