Docker octopusdeploy/tentacle custom certificate

Currently I try to use the octopus tentacle image Docker to connect to octopus server via polling mode. Unfortunately I get the folowing error: The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateChainErrors. Because we use internal certifactes I have to import it somehow in the container.

Is it possible to provide a custom certiface in the container because I found nothing in the docs and want to avoid build a custom image?

Best regards

Hi @michael.gruber2,

Thanks for reaching out, Iā€™d be happy to help with getting a custom certificates on your Tentacle containers!

You should be able to mount certificates into a container by including it as a volume that copies the certificate to a compatible location.

The volumes section for a docker-compose file would look something like: https://stackoverflow.com/questions/26028971/docker-container-ssl-certificates

volumes:
      - ./auth/domain.crt:/etc/ssl/certs/domain.crt

Bonus: You can add additional hosts to a container using the extra_hosts field: https://docs.docker.com/compose/compose-file/compose-file-v3/#extra_hosts

extra_hosts:
      - "octopus.domain.local:host-gateway"

Hope that helps but feel free to reach out with any questions at all!

Best Regards,

Hi,

ok, thank you very much it worked with your recommendations.

Best regards

2 Likes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.