Install the plugin for parsing Apache httpd config files:

sudo apt install python3-certbot-apache