Classic Docs
Docs Navigation

Use a self-signed certificate with private Docker registry

If you have a private Docker registry, which is using a self-signed SSL certificate, so pulling the Docker images does not work, the solution is to use a self-signed certificate with Docker, add a self-signed certificate file as a configuration file on Semaphore and save it under the name of domain.crt.

Then, following command should be present in the setup of your project:

sudo mv $SEMAPHORE_PROJECT_DIR/domain.crt /etc/docker/certs.d/

This should allow connection to a private remote registry with the use of the self-signed certificate.

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2019 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.