I've searched high and low for the same error and although I have seen others with the same error, none of the fixes have worked for me. I am using the current version of httpd/apache2 from homebrew, not the default apache2 version supplied with macOS. I'm guessing it is an issue with my apache setup. I've read previously that this is not the error message you get when it is a permissions issue, but who knows. Any help/insight is greatly appreciated!
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
It is accessible from the internet. In addition, I have no AAAA record, so IPv6 shouldn't be an issue.
My web server is (include version): Server version: Apache/2.4.51 (Unix)
The operating system my web server runs on is (include version): macOS Big Sur version 11.6
My hosting provider, if applicable, is: N/A
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): certbot 1.20.0
Try remapping the symbolic link to be absolute (starting with a forward slash, so no dots in front). You'll need to figure out where the "Cellar" directory is located.