I will go with option 2, " send all challenge requests to a specific location
this can be done with an alias
statement in main config file (usually: /etc/apache2/apache2.conf
) ", rg305.
The command i ran was:
sudo certbot --apache
This is the full output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache No names were found in your configuration files. Please enter in your domain name(s) (comma and/or space separated) (Enter 'c' to cancel): cloudruler.io Obtaining a new certificate Performing the following challenges: http-01 challenge for cloudruler.io Enabled Apache rewrite module Waiting for verification... Cleaning up challenges Failed authorization procedure. cloudruler.io (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://cloudruler.io/.well-known/acme-challenge/DFufFcqja_UQuz9baAsAyEL3OTqgQoDltG2WSxZqSb0 [13.85.31.243]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p" IMPORTANT NOTES: - The following errors were reported by the server: Domain: cloudruler.io Type: unauthorized Detail: Invalid response from http://cloudruler.io/.well-known/acme-challenge/DFufFcqja_UQuz9baAsAyEL3OTqgQoDltG2WSxZqSb0 [13.85.31.243]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\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.