ssl/ezXSS

Out-of-the-box docker installation has broken HTTPS interface (ssl error)

m0pam opened this issue ยท 6 comments

m0pam commented

An out of the box installation with docker has port 443 inaccessible due to what seems to be an SSL error/bug.

curl https://127.0.0.1
curl: (35) error:0A000126:SSL routines::unexpected eof while reading

This happens regardless of swapping the paths of the default ssl certificates in the .env file with valid ones (pointing to my LetsEncrypt certs).

I noticed there is an upvoted issue of an user (#109) asking to add instructions on how to set up ssl for the docker installation, nobody ever replied though.

Please could you provide instructions on how to properly set the SSL certificate for docker installations?

ssl commented

Hey @m0pam,

This is something on the todo list. I am currently busy with finishing the 4.2 release, and when that is ready, the readme and wiki will be heavily updated, including more clear and easy installation instructions.

I hope to finish it all this month.

@ssl I really want to switch from xsshunter to selfhosting this , shall i wait for 4.2 or just deploy 4.1 and go ?

ssl commented

This happens regardless of swapping the paths of the default ssl certificates in the .env file with valid ones (pointing to my LetsEncrypt certs).

@m0pam Also please note that the ssl certificates in the .env file are for the ezProxy, and has nothing todo with the SSL for ezXSS.

m0pam commented

@ssl I've DMed you on discord with the fixes that need to be implemented for the ssl to work with the docker installation.

As I mentioned in the DM there's only one problem that needs to be sorted out to make the fix permanent, the owner of the repo (you I guess) will surely be able to fix that quickly.

Nice work!

ssl commented

Installation instructions are now added to the wiki

Also, the docker will now automatically install and renew certificates for you.

Thanks for your patience