CentOS Stream 9 simply won't work

The Apache plugin doesn't work with RHEL9-based distros at the moment: --apache doesn't work on RHEL9, need to use `httpd` rather than `apachectl` · Issue #9386 · certbot/certbot · GitHub.

For the time being, you would have to use

certbot certonly --webroot -w /path/to/webroot

instead.

2 Likes