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. crt.sh | 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: https://www.mikroblobben.se
I ran this command: sudo certbot --apache
It produced this output:
Requesting a certificate for mikroblobben.se
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: mikroblobben.se
Type: unauthorized
Detail: Invalid response from http://mikroblobben.se/.well-known/acme-challenge/2YPipaufdyx-C8n0abGs2D5-A6nCnEUllcoRbkVYqho [155.4.140.77]: "\n\n<html class="no-js" lang="sv-SE">\n\n\t\n\n\t\t<meta charset="UTF-8">\n\t\t<meta name="viewport" content="width=dev"
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
My web server is (include version): Apache/2.4.38 (Raspbian)
The operating system my web server runs on is (include version): PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
My hosting provider, if applicable, is: Myself (unfortunately).
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 1.19.0
apachectl -S
VirtualHost configuration:
*:8080 mikroblobben.se (/etc/apache2/apache2.conf:176)
*:80 mikroblobben.se (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33 not_used
Group: name="www-data" id=33 not_used
My site now forces the use of https which makes it impossible to login to wordpress. I've been trying way to many things for too many hours and think I might have done something really stupid. Please help <3