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?
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
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
Hope that helps but feel free to reach out with any questions at all!
ok, thank you very much it worked with your recommendations.