I have a problem about how to deploy https server in docker. It failed to access the content due to SSL error. And then I did an experiment to test SSL function in docker container. The experiment is to listen on a port (tls), and if a connection comes then send back the content of a file.My Dockerfile is like:FROM ruanhao/centos-devEXPOSE 8443COPY banner .COPY server.crt.pem .COPY server.key.pem .CMD socat -U openssl-listen:8443,reuseaddr,cert=server.crt.pem,key=server.key.pem,verify=0,fork open:bannerAnd I run the docker as docker run -d -p 8443:8443 --name tls -it ruanhao/socat-tlsThen I used curl to get the content. curl -k -v -L  https://192.168.99.100:8443, but it failed:* Rebuilt URL to: https://192.168.99.100:8443/*   Trying 192.168.99.100...* Connected to 192.168.99.100 (192.168.99.100) port 8443 (#0)* Unknown SSL protocol error in connection to 192.168.99.100:-9850* Closing connection 0curl: (35) Unknown SSL protocol error in connection to 192.168.99.100:-9850I don't know why it is like this. Is there something I do not know about the usage of TLS in docker? Do you know how to fix it? Thank you.
Https server in Dock
ssl;docker