Setting up my first Pydio instance with Apache2 and Let's Encrypt

I’m trying to run sudo certbot --apache -d subdomain.routercompany.com and I am getting the following output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for subdomain.routercompany.com
Cleaning up challenges
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.

I’ve been guessing that my problem lies in my Apache 000-default.conf virtual host file which looks like this:

`Listen 80
#Listen 443

<VirtualHost *:80>
ServerName subdomain.routercompany.com
DocumentRoot “/usr/local/apache2/htdocs”
Redirect permanent / https://subdomain.routercompany.com/pydio/
`

The operating system my web server runs on is (include version): Ubuntu 18.04 LTS

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0

Any help would be appreciated. I’m trying to redirect all port 80 request from subdomain.routercompany.com/pydio to https://subdomain.routercompany.com/pydio

Does your webserver actually work?

Yes. I can log in to my pydio interface.

We’ll need your actual domain names and the summary of the apache configuration. (apachectl -S)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.