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. https://crt.sh/?q=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:
fmkortrijk.be
I ran this command:
sudo certbot certonly --manual --agree-tos --preferred-challenges dns -d socan.fmkortrijk.be
It produced this output:
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: socan.fmkortrijk.be
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.socan.fmkortrijk.be - check that a DNS record
exists for this domain
root@ubuntu-2gb-nbg1-2:~# StrUUuHS-1dDwvfa05-gUZPdD5GIuPf744o2iWSPClc
StrUUuHS-1dDwvfa05-gUZPdD5GIuPf744o2iWSPClc: command not found
root@ubuntu-2gb-nbg1-2:~# sudo certbot certonly --manual --agree-tos --preferred-challenges dns -d socan.fmkortrijk.be
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Obtaining a new certificate
An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see Failed Validation Limit - Let's Encrypt
Please see the logfiles in /var/log/letsencrypt for more details.
root@ubuntu-2gb-nbg1-2:~# sudo certbot certonly --manual --agree-tos --preferred-challenges dns -d socan.fmkortrijk.be
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
My web server is (include version):
Apache2 on Ubuntu 20.04
The operating system my web server runs on is (include version):
Linux, Ubuntu 20.04
My hosting provider, if applicable, is:
OVH
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 0.40.0
Oops... that will have been a mistake. I used Ctrl-C in Putty, maybe I needed to use just
Enter after selecting. It's on my pc at home, I can try to get into it and see my history..
I copied the whole output
What do you mean, is it different with Cloudflare? Normally, for this I switch off their proxy thing to DNS-only....
If you really need the dns-01 challenge, there is a DNS authenticator plugin to do it for you instead of doing it manually. See User Guide — Certbot 2.6.0 documentation for more info about DNS plugins.
Usually, when not requiring a wildcard certificate (which requires the dns-01 challenge), one usually uses the http-01 challenge using either a webserver plugin authenticator or the webroot plugin, which just places a text file on a certain location on your webserver. But I see you have two separate IP addresses for your hostname, so possibly you're also using two separate webservers, which complicates the http-01 challenge a little bit. So the dns-01 challenge might be the right choice for you, but usually one knows the reason behind that
Yes,
thanks,
But the actual issue was that I couldn't copy the TXT value from Putty without getting exited from the setup process.
If you restart it, each time you get a different value.
But now I already uninstalled my certbot version following the instructions of that certbot website tip you gave...
Now must still continue with the OVH provider instructions
The 2 hosts with different IP addresses are probably stream.twinmedia and stream2.twinmedia.be
Or if you mean the www host it is 116.203.94.31 but using it (https) is covered by Cloudflare,
then you see their address, but they take of the SSL certificate..
This is an issue with PuTTY, and nothing to do with Let's Encrypt, but of course this is possible. Highlight the text and right-click on it, it's copied. Edit--looks like my memory was off (I haven't needed PuTTY for years; Windows 10 includes its own SSH client, and my Macs do as well); see:
Actually socan.fmkortrijk.be is not my server but is a CNAME pointing to a server in Canada : kathy.torontocast.com [51.81.46.118]
Since it is not for web-purposes but for shoutcast streaming,
I think I can store the certificates anywhere , on my webserver 116.203.94.31
or the 2 stream servers,
but the problem probably that the certificate plugin tries to store it in the webserver, which is www.fmkortrijk.be but this IP-address will be the one of Cloudflare (the closest to your environment), not the one from my VPS server (116.203.94.31)
So my trick won't work I guess, unless I can make a wildcard certificate
With the old certbot command I used to use the option -d for adding two hostnames : stream and corsproxy
(but I don't need the corsproxy anymore)
What do you intent to do with the certificate if you get it? I.e., where would you install it? Do you actually have access to kathy.torontocast.com [51.81.46.118]? Because just getting a certificate is the first step, installing and using is the next requirement.
Like I said the Kathy of Torontocast is not my server and I can't install anything there.
But if I can't install it on socan.fmkortrijk.be
Isn't it possible to let get the certifcate from www.fmkortrijk.be or another host like cert.fmkortrijk.be that is not proxied by Cloudflare?
Wait a minute,
that CNAME entry is not proxied at Cloudflareose so
where does that 172.x address come from then?
socan.fmkortrijk.be should be able to get its certificate from
www.fmkortrijk.be and that one has my Apache installation,
I then copy the needed entries in those of the Shoutcast config files