php-docker-boilerplate icon indicating copy to clipboard operation
php-docker-boilerplate copied to clipboard

SSL

Open dgram opened this issue 8 years ago • 2 comments

i want to ask how is it possible to change the ssl certification files? i need them for the apache installation

regards and thx

dgram avatar Jun 27 '17 21:06 dgram

You need to upload (ADD or COPY in Dockerfile) your own certificate into:

  • /opt/docker/etc/httpd/ssl/server.crt
  • /opt/docker/etc/httpd/ssl/server.csr
  • /opt/docker/etc/httpd/ssl/server.key

see https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/apache.html#apache-layout

Or use a reverse proxy with let's encrypt support :)

mblaschke avatar Jun 28 '17 05:06 mblaschke

Or use a reverse proxy with let's encrypt support :)

When I try to use a reverse proxy, I get errors in the console saying content needs to be served over HTTPS. Any ideas? My Trafeik proxy has a valid LE SSL

DrMxrcy avatar Jan 27 '23 08:01 DrMxrcy