Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: http://nextcloud-pijuv.jujumediacenter.com
I ran this command:
certbot run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: nextcloud-pijuv.jujumediacenter.com
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 1
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for nextcloud-pijuv.jujumediacenter.com
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. nextcloud-pijuv.jujumediacenter.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://nextcloud-pijuv.jujumediacenter.com/.well-known/acme-challenge/71rcvlLyoH7a30DJDMLInE-nbZXaVKg3-yF3j5iFhU4 [XX.XX.XX.XX]: “\n\n404 Not Found\n\n
Not Found
\n<p”IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: nextcloud-pijuv.jujumediacenter.com
Type: unauthorized
Detail: Invalid response from
http://nextcloud-pijuv.jujumediacenter.com/.well-known/acme-challenge/71rcvlLyoH7a30DJDMLInE-nbZXaVKg3-yF3j5iFhU4
[XX.XX.XX.XX]: “\n\n404 Not
Found\n\nNot Found
\n<p”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
Apache2
I ran this command:
cat /etc/apache2/sites-available/nextcloud.conf
It produced this output:
<VirtualHost *:80>
DocumentRoot “/var/www/nextcloud”
ServerName nextcloud-pijuv.jujumediacenter.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =nextcloud-pijuv.jujumediacenter.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
The operating system my web server runs on is (include version):
PRETTY_NAME=“Raspbian GNU/Linux 9 (stretch)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
ID=raspbian
ID_LIKE=debian
My hosting provider, if applicable, is:
My hosting domain name is ovh.com
My DSN conf on ovh.com is:
DOMAIN: nextcloud-pijuv.jujumediacenter.com.
TTL: 0
TYPE: CNAME
TARGET: jujumediacenter.com
DOMAIN: jujumediacenter.com
TTL: 0
TYPE: A
TARGET: XX.XX.XX.XX (my IP address)
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):
no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.28.0
When navigate to http://nextcloud-pijuv.jujumediacenter.com/.well-known/acme-challenge/1234 after created /.well-known/acme-challenge/1234 directories and file, I get a HTTP 404
Thanks for any help
Julien