Lets encrypt problems

Ran into some SSL problems trying to reinstall the certificate via Webmin config

It throws

Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Renewing an existing certificate Performing the following challenges: http-01 challenge for netwinder.nu Using the webroot path /home/netwinder/public_html for all unmatched domains. Waiting for verification... Challenge failed for domain netwinder.nu http-01 challenge for netwinder.nu Cleaning up challenges Some challenges have failed. IMPORTANT NOTES: - The following errors were reported by the server:

Domain: netwinder.nu Type: unauthorized Detail: Invalid response from http://www.aprssweden.se/.well-known/acme-challenge/42flRVAaLsv-zuE6YjC2... [2607:f8b0:4007:80c::2013]: "\n<html "

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.

Any ideas?

I have attached the lets encrypt log

Status: 
Active
Virtualmin version: 
Late
Webmin version: 
Lates

Comments

Here is also the apache2 conf for netwinder.nu and aprs.se wich it´s seems to tangle up with

SuexecUserGroup "#1009" "#1003" ServerName aprs.se ServerAlias www.aprs.se ServerAlias webmail.aprs.se ServerAlias admin.aprs.se ServerAlias autoconfig.aprs.se ServerAlias autodiscover.aprs.se DocumentRoot /home/netwinder/domains/aprs.se/public_html ErrorLog /var/log/virtualmin/aprs.se_error_log CustomLog /var/log/virtualmin/aprs.se_access_log combined ScriptAlias /cgi-bin/ /home/netwinder/domains/aprs.se/cgi-bin/ ScriptAlias /AutoDiscover/AutoDiscover.xml /home/netwinder/domains/aprs.se/cgi-bin/autoconfig.cgi ScriptAlias /autodiscover/autodiscover.xml /home/netwinder/domains/aprs.se/cgi-bin/autoconfig.cgi ScriptAlias /awstats/ /home/netwinder/domains/aprs.se/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options -Indexes +SymLinksifOwnerMatch +ExecCGI allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted AddType application/x-httpd-php .php AddType application/x-httpd-php7.4 .php7.4 AddType application/x-httpd-php7.4 .php Action application/x-httpd-php7.4 /cgi-bin/php7.4.cgi allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted RewriteEngine on RewriteCond %{HTTP_HOST} =webmail.aprs.se RewriteRule ^(.) https://aprs.se:20000/ [R] RewriteCond %{HTTP_HOST} =admin.aprs.se RewriteRule ^(.) https://aprs.se:10000/ [R] RemoveHandler .php RemoveHandler .php7.4 php_admin_value engine Off Redirect /mail/config-v1.1.xml "http://aprs.se/cgi-bin/autoconfig.cgi" RedirectPermanent / http://www.aprssweden.se/ AuthName "aprs.se statistics" AuthType Basic AuthUserFile /home/netwinder/domains/aprs.se/.awstats-htpasswd require valid-user

SuexecUserGroup "#1009" "#1003" ServerName netwinder.nu ServerAlias www.netwinder.nu ServerAlias webmail.netwinder.nu ServerAlias admin.netwinder.nu DocumentRoot /home/netwinder/public_html ErrorLog /var/log/virtualmin/netwinder.nu_error_log CustomLog /var/log/virtualmin/netwinder.nu_access_log combined ScriptAlias /cgi-bin/ /home/netwinder/cgi-bin/ ScriptAlias /awstats/ /home/netwinder/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options -Indexes +IncludesNOEXEC +SymLinksifOwnerMatch +ExecCGI allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted AddType application/x-httpd-php .php AddHandler fcgid-script .php AddHandler fcgid-script .php7.4 FCGIWrapper /home/netwinder/fcgi-bin/php7.4.fcgi .php7.4 FCGIWrapper /home/netwinder/fcgi-bin/php7.4.fcgi .php allow from all Require all granted AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch RewriteEngine on RewriteCond %{HTTP_HOST} =webmail.netwinder.nu RewriteRule ^(?!/.well-known)(.) https://netwinder.nu:20000/ [R] RewriteCond %{HTTP_HOST} =admin.netwinder.nu RewriteRule ^(?!/.well-known)(.) https://netwinder.nu:10000/ [R] RemoveHandler .php RemoveHandler .php7.4 php_admin_value engine Off IPCCommTimeout 31 FcgidMaxRequestLen 1073741824 AuthName "netwinder.nu statistics" AuthType Basic AuthUserFile /home/netwinder/.awstats-htpasswd require valid-user

Here is also the apache2 conf for netwinder.nu and aprs.se wich it´s seems to tangle up with

SuexecUserGroup "#1009" "#1003" ServerName aprs.se ServerAlias www.aprs.se ServerAlias webmail.aprs.se ServerAlias admin.aprs.se ServerAlias autoconfig.aprs.se ServerAlias autodiscover.aprs.se DocumentRoot /home/netwinder/domains/aprs.se/public_html ErrorLog /var/log/virtualmin/aprs.se_error_log CustomLog /var/log/virtualmin/aprs.se_access_log combined ScriptAlias /cgi-bin/ /home/netwinder/domains/aprs.se/cgi-bin/ ScriptAlias /AutoDiscover/AutoDiscover.xml /home/netwinder/domains/aprs.se/cgi-bin/autoconfig.cgi ScriptAlias /autodiscover/autodiscover.xml /home/netwinder/domains/aprs.se/cgi-bin/autoconfig.cgi ScriptAlias /awstats/ /home/netwinder/domains/aprs.se/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options -Indexes +SymLinksifOwnerMatch +ExecCGI allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted AddType application/x-httpd-php .php AddType application/x-httpd-php7.4 .php7.4 AddType application/x-httpd-php7.4 .php Action application/x-httpd-php7.4 /cgi-bin/php7.4.cgi allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted RewriteEngine on RewriteCond %{HTTP_HOST} =webmail.aprs.se RewriteRule ^(.) https://aprs.se:20000/ [R] RewriteCond %{HTTP_HOST} =admin.aprs.se RewriteRule ^(.) https://aprs.se:10000/ [R] RemoveHandler .php RemoveHandler .php7.4 php_admin_value engine Off Redirect /mail/config-v1.1.xml "http://aprs.se/cgi-bin/autoconfig.cgi" RedirectPermanent / http://www.aprssweden.se/ AuthName "aprs.se statistics" AuthType Basic AuthUserFile /home/netwinder/domains/aprs.se/.awstats-htpasswd require valid-user

SuexecUserGroup "#1009" "#1003" ServerName netwinder.nu ServerAlias www.netwinder.nu ServerAlias webmail.netwinder.nu ServerAlias admin.netwinder.nu DocumentRoot /home/netwinder/public_html ErrorLog /var/log/virtualmin/netwinder.nu_error_log CustomLog /var/log/virtualmin/netwinder.nu_access_log combined ScriptAlias /cgi-bin/ /home/netwinder/cgi-bin/ ScriptAlias /awstats/ /home/netwinder/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options -Indexes +IncludesNOEXEC +SymLinksifOwnerMatch +ExecCGI allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted AddType application/x-httpd-php .php AddHandler fcgid-script .php AddHandler fcgid-script .php7.4 FCGIWrapper /home/netwinder/fcgi-bin/php7.4.fcgi .php7.4 FCGIWrapper /home/netwinder/fcgi-bin/php7.4.fcgi .php allow from all Require all granted AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch RewriteEngine on RewriteCond %{HTTP_HOST} =webmail.netwinder.nu RewriteRule ^(?!/.well-known)(.) https://netwinder.nu:20000/ [R] RewriteCond %{HTTP_HOST} =admin.netwinder.nu RewriteRule ^(?!/.well-known)(.) https://netwinder.nu:10000/ [R] RemoveHandler .php RemoveHandler .php7.4 php_admin_value engine Off IPCCommTimeout 31 FcgidMaxRequestLen 1073741824 AuthName "netwinder.nu statistics" AuthType Basic AuthUserFile /home/netwinder/.awstats-htpasswd require valid-user

Ilia's picture
Submitted by Ilia on Sat, 10/31/2020 - 04:00

Hi,

I suspect the issue is that another virtual server is responding to requests for that particular domain.

One option would be to check the Apache access logs in /var/log/virtualmin/ to see which domain is responding.

It's also possible that you're experiencing this problem described there.