I ran this command: certbot --dry-run renew cerbot --apache -d vibez-clan.de
It produced this output:
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for vibez-clan.de
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. vibez-clan.de (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: 94.16.111.220: Invalid response from https://vibez-clan.de/.well-known/acme-challenge/G3Sy1BPgdULTSpilEAgtMmze4bVr4ttJZSSqLfXBr3k: 404
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: vibez-clan.de
Type: unauthorized
Detail: 94.16.111.220: Invalid response from
https://vibez-clan.de/.well-known/acme-challenge/G3Sy1BPgdULTSpilEAgtMmze4bVr4ttJZSSqLfXBr3k:
404
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): Server version: Apache/2.4.29 (Ubuntu) Server built: 2022-06-23T12:51:37
The operating system my web server runs on is (include version): Ubuntu 18.04.6 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): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 0.27.0
Well i hope someone can help me out...The Prodecure was already successfull, there are running certs, created with certbot..just the renew process is actually not working and my certs are expiring in a few days..
VirtualHost configuration:
*:443 is a NameVirtualHost
default server vibez-clan.com (/etc/apache2/sites-enabled/vibez-clan.com-le-ssl.conf:2)
port 443 namevhost vibez-clan.com (/etc/apache2/sites-enabled/vibez-clan.com-le-ssl.conf:2)
alias www.vibez-clan.com
port 443 namevhost vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de-le-ssl.conf:2)
alias www.vibez-clan.de
*:80 is a NameVirtualHost
default server fastdl.combat.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.combat.vibez-clan.de.conf:1)
port 80 namevhost fastdl.combat.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.combat.vibez-clan.de.conf:1)
alias www.fastdl.combat.vibez-clan.de
port 80 namevhost fastdl.dust.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.dust.vibez-clan.de.conf:1)
alias www.fastdl.dust.vibez-clan.de
port 80 namevhost fastdl.mapping.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.mapping.vibez-clan.de.conf:1)
alias www.fastdl.mapping.vibez-clan.de
port 80 namevhost fastdl.testserver.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.testserver.vibez-clan.de.conf:1)
alias www.fastdl.testserver.vibez-clan.de
port 80 namevhost fastdl.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.vibez-clan.de.conf:1)
alias www.fastdl.vibez-clan.de
port 80 namevhost vibez-clan.com (/etc/apache2/sites-enabled/vibez-clan.com.conf:1)
alias www.vibez-clan.com
port 80 namevhost vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de-le-ssl.conf:23)
alias www.vibez-clan.de
port 80 namevhost vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de-le-ssl.conf:38)
alias www.vibez-clan.de
port 80 namevhost vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de-le-ssl.conf:60)
alias www.vibez-clan.de
port 80 namevhost www.vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de.conf:1)
alias vibez-clan.de
ipv6 wrong, okay, is this one better? 2a03:4000:51:ffa:81f:c8ff:fe09:31a5
sorry im really newbie at all of this...how to fix those na:port overlap? I only have 2 config files in sites-enabled named
vibez-clan.de.conf
and
vibez-clan.de-le-ssl.conf
Aight, changed that IPv6 Entry, thank you for this hint
Both of these files have HTTP server blocks for names:"vibez-clan.de, www.vibez-clan.de"
The first file has three such HTTP server blocks!
You need to delete the ones you are not using - leaving only one.
[don't delete the entire file if there are other blocks that need to be used]
If i do sudo apachectl -t -D DUMP_VHOSTS again, this is now the output:
VirtualHost configuration:
*:443 is a NameVirtualHost
default server vibez-clan.com (/etc/apache2/sites-enabled/vibez-clan.com-le-ssl.conf:2)
port 443 namevhost vibez-clan.com (/etc/apache2/sites-enabled/vibez-clan.com-le-ssl.conf:2)
alias www.vibez-clan.com
port 443 namevhost vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de-le-ssl.conf:2)
alias www.vibez-clan.de
*:80 is a NameVirtualHost
default server fastdl.combat.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.combat.vibez-clan.de.conf:1)
port 80 namevhost fastdl.combat.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.combat.vibez-clan.de.conf:1)
alias www.fastdl.combat.vibez-clan.de
port 80 namevhost fastdl.dust.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.dust.vibez-clan.de.conf:1)
alias www.fastdl.dust.vibez-clan.de
port 80 namevhost fastdl.mapping.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.mapping.vibez-clan.de.conf:1)
alias www.fastdl.mapping.vibez-clan.de
port 80 namevhost fastdl.testserver.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.testserver.vibez-clan.de.conf:1)
alias www.fastdl.testserver.vibez-clan.de
port 80 namevhost fastdl.vibez-clan.de (/etc/apache2/sites-enabled/fastdl.vibez-clan.de.conf:1)
alias www.fastdl.vibez-clan.de
port 80 namevhost vibez-clan.com (/etc/apache2/sites-enabled/vibez-clan.com.conf:1)
alias www.vibez-clan.com
port 80 namevhost vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de-le-ssl.conf:18)
alias www.vibez-clan.de
port 80 namevhost www.vibez-clan.de (/etc/apache2/sites-enabled/vibez-clan.de.conf:1)
alias vibez-clan.de
YES!! This solved almost the Problem
Just one problem is left, as i was trying to solve it by myself, i have distroyed the symlink. How can i re-create this?
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 65, in _reconstitute
renewal_candidate = storage.RenewableCert(full_path, config)
File "/usr/lib/python3/dist-packages/certbot/storage.py", line 439, in __init__
self._check_symlinks()
File "/usr/lib/python3/dist-packages/certbot/storage.py", line 498, in _check_symlinks
"expected {0} to be a symlink".format(link))
certbot.errors.CertStorageError: expected /etc/letsencrypt/live/vibez-clan.de/cert.pem to be a symlink
Renewal configuration file /etc/letsencrypt/renewal/vibez-clan.de.conf is broken. Skipping.