docker-galaxy-stable icon indicating copy to clipboard operation
docker-galaxy-stable copied to clipboard

Problems with SSL config

Open CarlosHorro opened this issue 6 years ago • 3 comments

Hi all,

I am trying to use the specific SSL options of this image (with self-signed certificates now, although I plan to use real certificates from UiB in the future) to make it run securely:

docker run -d -p 7080:80 -p 7021:21 -p 7022:22 -p 443:443
-e "GALAXY_CONFIG_USE_HTTPS=True"
-e "GALAXY_CONFIG_GALAXY_INFRASTRUCTURE_URL=https://129.177.231.63:443"
...

I do not find any internal error in the logs, but when trying to access to https://129.177.231.63

Firefox just reports "Unable to connect", whist chrome says "ERR_CONNECTION_REFUSED". Normal connections to port 80 (mapped to 7080) work fine, there is no proxy configured and the certificates are located in the proper folder...

Greetings, Carlos

CarlosHorro avatar Dec 03 '18 15:12 CarlosHorro

Any idea about this, please? :-)

CarlosHorro avatar Dec 28 '18 12:12 CarlosHorro

I'm not sure this works with a self-signed certificate. Have you tried letsencrypt? Does it work without SSL?

Sorry for my late response.

bgruening avatar Dec 28 '18 16:12 bgruening

Hi @bgruening Yes, it works with plain HTTP. I also tried letsencrypt but the same type of behaviour happened... Now I have the proper UiB SSL certificates so I will try to make this work with them, although I'm not sure it will be straightforward as I also need to apply an intermediate certificate... Edited: I can confirm the same problem with official certificates... I've also confirmed that port 443 is open in iptables.

CarlosHorro avatar Jan 08 '19 10:01 CarlosHorro