Hello,
I’m making a webhosting server for a company. The first chioce of hosting panel was VestaCP so first time I create the certificate there. But sadly VestaCP is has not brought the expected results and I moved to ISPConfig3 on fresh server install, so everything is deleted. I need the certificate for the hosting domian. My DNS records contains the proper A record and I don’t using IPv6 record.
Now I’m facing with the following problem:
My domain is: https://hosting.increst.hu
https://crt.sh/?q=hosting.increst.hu
I ran this command: letsencrypt certonly --webroot
It produced this output:
root@hosting /tmp/servisys-ispconfig_setup-9f2b458 # letsencrypt certonly --webroot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter ‘c’
to cancel): hosting.increst.hu
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for hosting.increst.hu
Input the webroot for hosting.increst.hu: (Enter ‘c’ to cancel): /var/www/html/
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. hosting.increst.hu (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid
response from http://hosting.increst.hu/.well-known/acme-challenge/8lO7KQhVNPdx50dOFH7LPkE5r7_nt6v3596MrMTs1-Y: “<!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: hosting.increst.hu
Type: unauthorized
Detail: Invalid response from
http://hosting.increst.hu/.well-known/acme-challenge/8lO7KQhVNPdx50dOFH7LPkE5r7_nt6v3596MrMTs1-Y:
“<!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.
root@hosting /tmp/servisys-ispconfig_setup-9f2b458 #
My web server is (include version): Server version: Apache/2.4.29 (Ubuntu)
Server built: 2018-10-10T18:59:25
The operating system my web server runs on is (include version): Ubuntu 18.04.1
My hosting provider, if applicable, is: Me
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): Yes, ISPconfig3
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.23.0
I gonna be very happy if You guys have a good suggestion on my case!
Cheers,
Csaba.