Configure trust self generated CA certificate of docker registry
When self generated CA certificate has not been trusted by docker client, following error occurres
... x509: certificate signed by unknown authority
Install CA certificate for docker only
Docker can install registry CA as
/etc/docker/certs.d/<registry[:port]>/ca.crt. For example,
Note: If port is 443, it should be omitted. Otherwise, it won't work.
Install CA certificate into system folder
To install self generated CA certificate for operating system, follow the page below.
Install self generated CA certificate into Linux OS
Restart docker service to take effect
The restart docker service after CA certificate installed.
systemctl restart docker