httpsfedora

Digital Ocean Droplet -- HTTPS not working


I tried to install OwnCloud on a new droplet running Fedora 41. This tutorial page: How To Install and Configure ownCloud

It doesn’t offer any steps. The steps offered here seemed to work w/o producing any errors. Step-by-Step Guide to Installing ownCloud on Fedora Linux

The public IP is below, but the link produces https://143.198.26.153/owncloud

This site can’t be reached 143.198.26.153 refused to connect. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED

I added a firewall opening for port 443. http://143.198.26.153/ connects but HTTPS will not.


Solution

  • Without knowing much about your configuration the most likely issue is that you haven't set a proper hostname nor have you generated a valid ssl certificate which.
    Generating certificates directly for Ip's such as yours (https://143.198.26.153) is something that's currently being integrated in i.e letsencrypt.
    I would suggest instead of looking at guides you linked you should check the official documentation of ownCloud for installing: https://doc.owncloud.com/server/next/admin_manual/installation/.

    The Quick install guide provides you with instructions to properly configure a hostname for your own cloud instance.
    There are also different ways to setup SSL certificates: One way is to import them directly through the web interface, another one would be to use the Mozilla SSL Configuration Generator (which the wiki also mentions), the last way would be to run a reverse proxy such as Nginx which would (with the right configuration) handle the https traffic for you.