It produced this output:
Renewing an existing certificate for solar.schamschula.com and wx.schamschula.com
Failed to renew certificate solar.schamschula.com with error: [Errno 2] No such file or directory: '/usr/local/etc/letsencrypt/archive/solar.schamschula.com/privkey1.pem'
I touch the missing file and rerun certbot renew
Renewing an existing certificate for solar.schamschula.com and wx.schamschula.com
Failed to renew certificate solar.schamschula.com with error: [Errno 17] File exists: '/usr/local/etc/letsencrypt/archive/solar.schamschula.com/privkey2.pem'
These errors seem to be circular. My attempts to renew have caused the rate limit to block any more attempts to renew. I had waited a week after first realizing there was an issue. Back to square one!
My web server is (include version):
apache24 2.4.54
The operating system my web server runs on is (include version):
FreeBSD 13.1
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.27.0
PS: I deinstalled and resinstalled certbot and certbot-apache. My certs will expire in less than a day.
I doubt this has anything to do with the apache configuration. It hasn't changed in years. I suspect that there was a change to the freshports certbot package that broke things. After all, the previous update worked correctly.
However, here you go:
apachectl -t -D DUMP_VHOSTS
VirtualHost configuration:
*:80 is a NameVirtualHost
default server wx.schamschula.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:29)
port 80 namevhost wx.schamschula.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:29)
port 80 namevhost solar.schamschula.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:108)
*:443 is a NameVirtualHost
default server wx.schamschula.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:122)
port 443 namevhost wx.schamschula.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:122)
port 443 namevhost solar.schamschula.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:216)
Failed to renew certificate wx.schamschula.com with error: urn:ietf:params:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: wx.schamschula.com: see Duplicate Certificate Limit - Let's Encrypt
All renewals failed. The following certificates could not be renewed: