Hello,
I am not exactly sure that this is the correct location for the thread, if not, please move it to where you seem fit.
I am trying to create a simple HTML docker container with a reverse proxy, I am following the guide here in for the Apache configurations:
-> https://support.cpanel.net/hc/en-us/articles/360052925073
These are the configuration files:
SSL:
PrivateBin
Non-SSL:
privatebin.net
It is very simple as you might see, however, the issue that I am having is that when I try to visit the website/domain through the Docker container with SSL, it does not work, and I do not understand the reason why as I am setting everything as per the guides found in cPanel docs, for reference I am attaching my Dockerfile as well as my docker-compose.yml file:
DockerFile:
privatebin.net
Docker-compose:
PrivateBin
When I visit the webpage with HTTPS, it is like there is no SSL installed, and instead, the following page is being opened:
-> Screenshot
However, when I visit it without https the page opens normally:
-> Screenshot
There are no errors whatsoever that would suggest the key and crt copied from the Docker container to the specified folder are incorrect or in any way do not match:
-> Screenshot
Therefore I am note certain why the server is not detecting the SSL certificates and what may be the culprit for this. Has anyone tried to achieve this and if yes, how?
Thanks.
I am not exactly sure that this is the correct location for the thread, if not, please move it to where you seem fit.
I am trying to create a simple HTML docker container with a reverse proxy, I am following the guide here in for the Apache configurations:
-> https://support.cpanel.net/hc/en-us/articles/360052925073
These are the configuration files:
SSL:
PrivateBin
Non-SSL:

PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.

It is very simple as you might see, however, the issue that I am having is that when I try to visit the website/domain through the Docker container with SSL, it does not work, and I do not understand the reason why as I am setting everything as per the guides found in cPanel docs, for reference I am attaching my Dockerfile as well as my docker-compose.yml file:
DockerFile:

PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.

Docker-compose:
PrivateBin
When I visit the webpage with HTTPS, it is like there is no SSL installed, and instead, the following page is being opened:
-> Screenshot
However, when I visit it without https the page opens normally:
-> Screenshot
There are no errors whatsoever that would suggest the key and crt copied from the Docker container to the specified folder are incorrect or in any way do not match:
-> Screenshot
Therefore I am note certain why the server is not detecting the SSL certificates and what may be the culprit for this. Has anyone tried to achieve this and if yes, how?
Thanks.
Last edited by a moderator: