SSL selfsigned httpd: Syntax error
davebra opened this issue · 7 comments
There is an error during the creation of the container when using SSL.
I'm using docker-compose to start the container, this is my docker-compose.yml file:
version: '3'
services:
webdav:
image: bytemark/webdav
ports:
- "443:443"
environment:
- SSL_CERT=selfsigned
volumes:
- ./dav:/var/lib/dav
- ./user.passwd:/user.passwd
and this is the docker-compose up log:
webdav_1 | Generating a RSA private key
webdav_1 | ............................+++++
webdav_1 | .....................................................................................................+++++
webdav_1 | writing new private key to '/privkey.pem'
webdav_1 | -----
webdav_1 | httpd: Syntax error on line 159 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: Error relocating /usr/local/apache2/modules/mod_ssl.so: SSL_CTX_set_post_handshake_auth: symbol not found
webdav_1 exited with code 1
I'm getting this error too, with signed SSL certs (mountes at /privkey.pem & /cert.pem
I fixed this in a image (cloned from this repo and tagged with httpd:2.4.35-alpine):
twizzel/webdav
This works!
I have this error too
Hey @deadbird99 , use the docker image twizzel/webdav or clone my version https://github.com/davebra/docker-webdav that uses the old alpine-apache without this issue
@pcammish should just rebuild the 2.4 image (or generate a new version).
It will fixes this issue.
I no longer have access to the repo after leaving Bytemark. You may want to contact Bytemark support directly, as someone may still be there who can sort it out.
ping @jamielinux @ianeiloart or @boonen ?