Certbot on docker con

My domain is: ogadonate.com and app.ogadonate.com

I ran this command: sudo bash init-letsencrypt.sh

It produced this output: Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: app.ogadonate.com
Type: connection
Detail: Fetching http://app.ogadonate.com/.well-known/acme-challenge/aIcGZzIuOwa2NZRJm8RvjC00_QVhC69YCTWjlcn81FI: Connection refused

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version): nginx docker alpine latest

The operating system my web server runs on is (include version): Ubuntu 20.04

My hosting provider, if applicable, is: AWS

I can login to a root shell on my machine (yes or no, or I don't know): no

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 latest on docker

Actually, I'm serving two web app from docker container... And I'm trying to generate cert for both services...

You need a working HTTP site before you can secure it using HTTP-01 authentication.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.