My domain is: cloud.ducky.rocks, pics.ducky.rocks, ducky.rocks, monitor.ducky.rocks, portainer-home.ducky.rocks
I ran these commands, both had same error:
certbot renew
certbot --certonly -d cloud.ducky.rocks
It produced this output:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/cloud.ducky.rocks.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for cloud.ducky.rocks
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (cloud.ducky.rocks) from /etc/letsencrypt/renewal/cloud.ducky.rocks.conf produced an unexpected error: Failed authorization procedure. cloud.ducky.rocks (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://cloud.ducky.rocks/index.php/login [2606:4700:3032::681f:53ee]: "<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"en\" data-locale=\"en\" >\n\t<head\n data-requesttoken=\"LSwQ". Skipping.
- - - - - - - -
My web server is (include version):
Server version: Apache/2.4.46 (Ubuntu)
Server built: 2020-08-10T12:32:00
Server's Module Magic Number: 20120211:93
Server loaded: APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Architecture: 64-bit
Server MPM:
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"
The operating system my web server runs on is (include version):
Distributor ID: | Ubuntu |
---|---|
Description: | Ubuntu 18.04.5 LTS |
Release: | 18.04 |
Codename: | bionic |
My hosting provider, if applicable, is: Local Server.
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): 0.27.0
Other information
I had the same problem on a seperate domain, on a different machine (but behind the same network) a few hours ago, when i tried to renew. I ended up using --certonly and select option 3 to put the files in the web directory. That worked. Cannot do that with these domains.
I have also tried to go to .htaccess file for cloud.ducky.rocks specifically to add:
RewriteRule ^\.well-known\/acme-challenge\/ - [L]
before any other rewrite rules.
I am running everything behind cloudflare, and these domains do have cloudflare proxy on, but it has worked before - could cloudflare be the reason behind this issue?
Thank you for your help