Make Docker swarm use custom certificate rather than ca cert

A self signed cert with the hostname doesn’t match the CN = swarm or swarm manager. CN is not the hostname so the scanner is reporting that we are using an “invalid cert”.

I am trying to follow steps from https://github.com/docker/docker.github.io/blob/master/swarm/configure-tls.md