I am installing some web services on my server with Docker containers and I need a certificate for SSL encrypted connection (https). Could I use the same certificate for multiple containers on the same server? For example, one of the containers is PGAdmin4 and another is R Studio Server. I need a procedure to manually create the certificates and then pass them to the container in its startup parameters.
My domain is: datascience.businessgrowth.com.ve
I ran this command: certbot certonly --manual
It produced this output:
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Detail: 18.104.22.168: Fetching http://datascience.businessgrowth.com.ve/.well-known/acme-challenge/5CSQJQRN5vXltS_183Fn20s0y07v4cBM-NwLsX7Gzk0: Connection refused
Hint: The Certificate Authority failed to verify the manually created challenge files. Ensure that you created these in the correct location.
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 embedded in a docker container
The operating system my web server runs on is (include version): Debian 11
I have total control of my VPS