Using Third-Party Certificates

If you want to use certificates that your company provides and trusts, or generate certificates in a different way, follow these steps to add your certificates to the configuration:

  1. Stop all services using docker compose down -v.

  2. In the docker-compose-customer folder, go to the ./config/certificates folder and remove the certificates that were auto-generated (ca.crt, ca.key, server_docker.localhost.crt, and server_docker.localhost.key).

  3. Place your desired machine certificates in the certificates folder.

  4. Rename them to server_docker.localhost.crt and server_docker.localhost.key.

    If for some reason you are not allowed to change the names, you will need to modify the Traefik configuration file so that it can detect your certificates. Note that in this case, the self-signed certificates will still be generated on next startup, but will not be used as long as the Traefik configuration file has been modified correctly.