Certbot --apache -d The requested apache plugin does not appear to be installed

I ran this command: certbot --apache -d $url

It produced this output: The requested apache plugin does not appear to be installed

My server: Apache 2.4

My OS: Ubuntu 20.4

Yes I can login to a root shell on my machine.

I'm using a control panel: MobaXterm

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 0.40.0

I copy my old script to generate certificate for url from Ubuntu 18 where it works well. Now I am on Ubuntu 20 and I am not sure why this command does not work. In 2018 this error was fixed by command apt install python3-certbot-apache but now I am not sure if it is right solution for Ubuntu 20. Can somebody tell me please what is going on? Thanks a lot.


The recommended installation method for Certbot on Ubuntu 20.04 is to install it from snaps: https://certbot.eff.org/lets-encrypt/ubuntufocal-apache. Those instructions first ask you to remove the copy of Certbot you installed from apt.

If for some reason you need to continue using the version of Certbot that comes from apt, then yes, installing python3-certbot-apache will do what you want.


Why apt is not recommended way?


Welcome to the Let's Encrypt Community :slightly_smiling_face:

Platform dependence, if I've understood correctly.


Hello @camohub,

Ideally, use the packages provided by the GNU/Linux distribution (in your case Ubuntu) but for example, the version you are installing is 0.40 that was released on November 5, 2019 and certbot evolves very quickly adding and improving features that you're missing out because you can't update so certbot developers have decided that the best way to distribute the latest version of certbot is through snap.

If the version provided by Ubuntu is working fine for your needs then go ahead and use it but if you want/need an up to date version, then use snap.



Because most distribution maintainers """maintain""" an ancient version of certbot, as is the case for Ubuntu. On the other hand, for example, Gentoo sports a state of the art version of certbot. And snap isn't available for the default Gentoo installation. Therefore, one running Gentoo can perfectly use the distribution version. (The 9999 version is a special version for getting the source directly from the VCS of the software, in this case the master version of certbot from GitHub.)