Docker Community Forums

Share and learn in the Docker community.

HTTPS SSL service hostname issue


(Larsenfed) #1

Hi all,

I have setup service with Docker-cloud which gave me an end point:

then I created a subdomain, so that resovles to

I installed all certificates and chain certificates so that is trusted with a full chain.

Now my problem is that when using a Java8 client fails with:

hostname in certificate didn’t match: <> != <*>

How do I tell Docker Cloud, that my service has an external hostname.

I tried setting all FQDN env vars with no success.

Does anybody knows where do I need to setup the hostname?

Thanks a lot in advance for you help.

(Larsenfed) #2


I had to add this on compose yml of the service