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:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
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):
in cerbot i give webroot as parameter.
logs also show that challenge is created in the right folder : /var/www/cloud/.well-known/acme-challenge/An0cr_4l6Kxl2_f606TPzyxTgJ5eZxNoiYgIP7v_ri4
My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2018-10-10T18:59:25
The operating system my web server runs on is (include version):
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
My hosting provider, if applicable, is:
my own server at home
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):
cli
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.23.0
Visible Content: Not Found The requested URL /.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Checking /.well-known/acme-challenge/unknown-file there is the expected http status 404 - Not Found.
Create a test file in your DocumentRoot (file name 1234) and check, if you can load that in your browser.
The same with a file in DocumentRoot/.well-known/acme-challenge.
strange is that the challenge file is created in the right location.
/var/www/cloud/.well-known/acme-challenge/An0cr_4l6Kxl2_f606TPzyxTgJ5eZxNoiYgIP7v_ri4
can i configure the apache2 in a way that my nextcloud is also reachable on https://kreutzer.asuscomm.com ? i always have to add /cloud to the URL
I have tryed make an alia but this also did not solfe the letsencrypt certificate renew
yes cerbot creates the file in the right directory.
but when it validates it is no looking into the right location .
Thats why i was thinking that it must be on my side that the validation is redirected, but i cannot see any configuration that redirects it
i also created a file /var/www/cloud/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
and according above web page get a http://kreutzer.asuscomm.com/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
“Visible Content: Not Found The requested URL /.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”
so i a still lost .
what configuration in the .conf of apache or .htaccess prevent me to get access for the http challange file? htaccess.txt (2.8 KB) kreutzer.asuscomm.com.conf.txt (7.8 KB)
sudo apachectl -S
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf-enabled/virtual.conf:4
VirtualHost configuration:
*:80 kreutzer.asuscomm.com (/etc/apache2/sites-enabled/kreutzer.asuscomm.com.conf:1)
*:443 kreutzer.asuscomm.com (/etc/apache2/sites-enabled/kreutzer.asuscomm.com.conf:25)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: MODPERL2
User: name="www-data" id=33
Group: name="www-data" id=33
very strange that Main DocumentRoot: "/var/www/html"
i do have a sites-available/000-default.conf which contain this configuration but it is not enabled
ls -l /var/www/html/.well-known/acme-challenge/
insgesamt 8
-rwxr-xr-x 1 www-data www-data 6 Apr 5 22:21 check-your-website-dot-server-daten-dot-de
-rwxr-xr-x 1 www-data www-data 6 Apr 5 22:21 test
but renew command is not sucessful.
still i think is cannot be as cerbot shows:
Attempting to save validation to /var/www/cloud/.well-known/acme-challenge/jbt0wb9dRSkYy7KdVlRtgEt420RA9tbVKBNY2EpzFRg