Hello Team,
linkjoy product helps users to create shorten their links. User can add their domain as custom domain in linkjoy. So they can use their domains to create short links.
So, First users have to add CNAME of linkjoy in their DNS and then they have to add domin in our platform. When users add domin, we generate Nginx file for that domain and generate SSL through "sudo certbot --nginx -n --redirect -d domain_name" command. All this is done with PHP script in queue (We use laravel)
This is working fine for around 230 domains. But suddenly certbot stop working without any changes in code, server or nginx configuration.
When we run "sudo certbot --nginx -n --redirect -d domain_name", we got following error.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for ssltesting.notionjoy.io
Waiting for verification...
Challenge failed for domain ssltesting.notionjoy.io
http-01 challenge for ssltesting.notionjoy.io
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:Domain: ssltesting.notionjoy.io
Type: unauthorized
Detail: Invalid response from
http://ssltesting.notionjoy.io/.well-known/acme-challenge/EGKl812csdCF2DuAWOK5QoWNX-Y9XWzzifdxzUgSQYY
[54.213.241.126]: "{"name":"Route Not
Found","message":"Route Not Found","error":"Route Not
Found","error_description":"Route Not Found","error_cod"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.
Now, this happens with every new domain and even get the same error when we try to renew the old certificates.
Please help us to fix this error.
My domain is: ssltesting.notionjoy.io
I ran this command: ssltesting.notionjoy.io
It produced this output:
My web server is (include version): nginx/1.18.0
The operating system my web server runs on is (include version): Ubuntu 20.04.1 LTS
My hosting provider, if applicable, is:
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): 0.40.0