It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError('Cannot find Apache executable apache2ctl')
root@loyali:/home/ubuntu# sudo certbot certonly --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
My web server is (include version): Apache (installed with Wordpress: latest over docker) do I have to install a stand alone Apache?
The operating system my web server runs on is (include version): Ubuntu 22 Arm64
My hosting provider, if applicable, is: Registrar Google -- Hosted on Oracle
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):
@Deborah I see you continue to struggle with fundamental issues. There are hosting services that offer quick setup of blogs, websites and similar. It is not necessary to put together all the pieces yourself. You could use such a hosting service to start and as you learn more you could try the do-it-yourself approach later. Just an idea.
If you want to continue this DIY path the Let's Debug test site will be helpful while you get the initial setup sorted out
And to add to @griffin s post: when using Certbot and/or your webserver in Docker, you should use the webroot plugin as authenticator plugin, manually install the certificate into your webserver and make sure your webserver is reloaded somehow after renewal. (Not sure if a --deploy-hook from within Docker container A can reload a webserver in Docker container B tho..)
thanks for checking, Google doesn't host it anymore, it's on Oracle now. I think neither cloudflare nor oracle resolved this simple thing of propagating a DNS.
Yes Mike, seems all bloggers and YouTubers lack fundaments, I am more inclined to hiring a professional on a freelance platform because hosts have given me some pain using mautic. I decided not to be trying everyone of them but really, the only community that helps is LE and the horde of Bloggers and Youtubers out there seem to lack fundamentals. Thanks for taking the time.
There is an A record for your blog subdomain but there is no A record for your apex name theapothecary.app. You will need one to get a cert for that name using an HTTP challenge.
Certbot and Docker are no natural friends: https://eff-certbot.readthedocs.io/en/stable/install.html#running-with-docker
" Docker is an amazingly simple and quick way to obtain a certificate. However, this mode of operation is unable to install certificates or configure your webserver, because our installer plugins cannot reach your webserver from inside the Docker container."
This sample URL for an HTTP challenge should result in a 404 Not Found as the file Forum123 does not exist. But, you redirect it to a WP install page instead. For an actual challenge you need to reply with the challenge file data.
And, you'll also need to deal with the docker coordination which I am not expert at so cannot help with that.