Hello
I am in despair.
No matter what I try, I always get the following message.
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: ns1.europlink.ch
Type: unauthorized
Detail: 195.226.14.161: Invalid response from http://ns1.europlink.ch/.well-known/acme-challenge/XcGuXRPXH8wZkLMC8eUfftFZt6LvzpCXYRHwRq9Ru58: 404
Port 80 is forwarded to the machine.
I enter ‘/var/webmin’ as the path
What have I overlooked?
Bye
Mansaylon
@Mansaylon , welcome to the community!
Are you sure that the /var/webmin
is the webroot? It rather looks like the webmin
application root.
3 Likes
Admittedly, I followed instructions from the internet. The directory definitely exists.
How can I find out the webroot from Webmin?
rg305
September 30, 2024, 12:19pm
4
Where do you put your site files?
4 Likes
I do not know webmin
. However, if you have shell access to the system, you can check the nginx
configuration to figure out the path of the webroot.
3 Likes
rg305
September 30, 2024, 12:21pm
6
curl -Ii ns1.europlink.ch
HTTP/1.1 200 OK
Server: nginx <<<<<<<<<<<<<<<<<<<<<<<<<<<<
Date: Mon, 30 Sep 2024 12:19:57 GMT
Content-Type: text/html
Content-Length: 1154
Last-Modified: Sat, 13 Jan 2024 13:32:52 GMT
Connection: keep-alive
ETag: "65a29104-482"
Accept-Ranges: bytes
Yes, it seems your webmin
uses nginx
.
Try showing:
nginx -T
4 Likes
Osiris
September 30, 2024, 12:35pm
7
I'm not familiar with Webmin, but beware of Docker. Often those things run in Docker. That said, not sure if it's also the case with Webmin.
1 Like
[root@ns1 rwa]# curl -Ii ns1.europlink.ch
HTTP/1.1 403 Forbidden
Date: Mon, 30 Sep 2024 12:33:26 GMT
Server: Apache/2.4.57 (AlmaLinux)
Last-Modified: Sat, 09 Oct 2021 17:49:21 GMT
ETag: "1249-5cdef1d990a40"
Accept-Ranges: bytes
Content-Length: 4681
Content-Type: text/html; charset=UTF-8
Yes... Apache is installed... but I don't really need it on this machine. Only Webmin should be secured with Let's Encrypt. Webmin runs with nginx.
And nginx -T show: bash: nginx: command not found ?!?!
rg305
September 30, 2024, 12:43pm
9
That doesn't look like the same system.
What shows?:
curl -4 ifconfig.me
2 Likes
[root@ns1 rwa]# curl -4 ifconfig.me
195.226.14.161[root@ns1 rwa]#
rg305
September 30, 2024, 12:48pm
12
What is doing the port forwarding?
Please show that config/setting.
2 Likes
rg305
September 30, 2024, 12:50pm
13
The port-fowarding seems incorrect.
HTTPS fails:
curl -Iik https://195.226.14.161
curl: (35) error:0A000458:SSL routines::tlsv1 unrecognized name
HTTP on port 443 connects:
curl -Iik http://195.226.14.161:443
HTTP/1.1 400 Bad Request
Server: nginx
Date: Mon, 30 Sep 2024 12:49:15 GMT
Content-Type: text/html
Content-Length: 248
Connection: close
2 Likes
call ist
ns1.europlink.ch show 'Congratulations! You've successfully startet the Nginx Proxy Manager......
It is from Webmin installation.
I can stop the httpd service and Webmin works OK. But with the Let's Encrypt I still have no luck.
Do I need to open 443 to? Webmin have another Port.
rg305
September 30, 2024, 12:51pm
15
And now this:
Mansaylon:
Nginx Proxy Manager
I'm out.
Sorry, I have other work to do.
3 Likes
Osiris
September 30, 2024, 1:22pm
16
Ah yes, a combination of the unfamiliar Webmin and disliked NPM is a good recipe for "you're on your own" I'm afraid. Not much experience with both of them here on this Community.