Behind reverse proxy
Bug report
This command does not run passman with SSL disabled.
docker run -p 8080:80 brantje/passman
The documentation states that if the certificates are not present, it disables SSL. But it complains about the SSLCertificateFile.
My passman is behind a reverse-proxy which handles the SSL and requests will be forwarded without SSL.
Steps to reproduce
- run
docker run -p 8080:80 brantje/passman
Expected behaviour
To run the docker container without SSL enabled.
Actual behaviour
I get the error:
AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/default-ssl.conf:
SSLCertificateFile: file '/etc/ssl/private/cert.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
as hotfix you could generate an own certificate to get it work
e.g. with
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem
@hanselsen If you are interested, I have my own passman development docker container based on a newer image and software: https://hub.docker.com/r/binsky/passman-dev
Also, if i remember well, brantje/passman image is pretty outdated, we don't currently maintain an official docker image