I have made the folowing directories and file
sudo mkdir /apps/www/html/.well-known
sudo mkdir /apps/www/html/.well-known/acme-challenge
echo "YAY!" > /apps/www/html/.well-known/acme-challenge/Test-File-1234
I have made the following folders and file sudo mkdir /apps/www/html/.well-known sudo mkdir /apps/www/html/.well-known/acme-challenge echo "YAY!" > /apps/www/html/.well-known/acme-challenge/Test-File-1234
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Then the certbot --nginx plugin is unable to find the correct path where to place the challenge file.
Please show the LE log file.
It should shed light on the problem.
OR
You could hobble on with whatever is wrong (likely within the nginx config) and switch from using:
"certonly --nginx"
to
"certonly --webroot -w /apps/www/html"