Subscribe Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

Docker SSL Error


I have a docker installation and have a wildcarded certificate. Our instance will be on a machine on a private network. I have verified that the files certificate.crt and key.pem are in the docker container at the specified folder.

My docker-compose was simply this:

      - '/_ssl/certificate.crt:/etc/apache2/ssl/certificate.crt:ro'
      - '/_ssl/key.pem:/etc/apache2/ssl/key.pem:ro'

      SSL: "{SSL:true}"

However I am trying to navigate to and I am getting:

An error occurred during a connection to SSL received a record that exceeded the maximum permissible length.


The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

I know what this error means, but I followed the instructions and as this is a docker install am wondering if this is a problem with it being a wildcard cert or what the fix for this should be? I see some unmerged SSL branches on the github repo?


I solved this by mapping an additional HTTPS Port