Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is SSL supported? #431

Closed
SandTheNeeT opened this issue May 31, 2018 · 3 comments
Closed

Is SSL supported? #431

SandTheNeeT opened this issue May 31, 2018 · 3 comments

Comments

@SandTheNeeT
Copy link

SandTheNeeT commented May 31, 2018

Is currently SSL eg. https supported in filebrowser? If not, can you do it? :D I do not see this option in config and when i try to view with valid https certificate on my VPS server, got this

Website (my domain) returned an invalid response.
ERR_SSL_PROTOCOL_ERROR

@hacdias
Copy link
Member

hacdias commented May 31, 2018

To use SSL with File Browser, it would be better to proxy to it via a web server like Caddy or Nginx. That way it is simpler.

I would advise you to use Caddy since it gives you automatically generated and free SSL certificates (through Let's Encrypt) and has an extension just for File Browser.

@eine eine added the question label Aug 4, 2018
@eine eine closed this as completed Aug 4, 2018
@gahmasec
Copy link

gahmasec commented Sep 5, 2021

In case someone still needs it to use filebrowser with SSL just create a SSL certificate and through the following commands configure correctly:

sudo filebrowser config set -k home/user/ssl/server.key (PATH of TLS Key file)
sudo filebrowser config set --cert home/user/ssl/example.com.crt (PATH of TLS Cert file)

@tilusnet
Copy link

My docker image gets 0 curl: (22) The requested URL returned error: 400 with

    filebrowser/filebrowser \
    --cert cert.crt \
    --key cert.key 

Not sure why, any hints guys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants