Certbot doesn't install plugins via brew

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
symaldra.com

I ran this command:
brew install -cloudflare
(as per instruction)

It produced this output:
Error: ambiguous option: -cloudflare

My web server is (include version):
Apache HTTPD 2.4.62 (Unix)

The operating system my web server runs on is (include version):
MacOS Sonoma 14.6.1

My hosting provider, if applicable, is:
Not applicable

I can login to a root shell on my machine (yes or no, or I don't know):
I think so.

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):
2.11.0

As described in the form, I've tried installing the Cloudflare plugin as per what the instruction states if I enter MacOS + Apache. However It isn't working.

Hi @TheOnePossum, and welcome to the LE community forum :slight_smile:

Please provide the instructions you followed.

1 Like

Hello @rg305
I've followed these instructions:

1 Like

Homebrew installations can not natively support any plugins due to incompatibilities in Homebrew and Certbot both work. There have been some workarounds shared here and on their github.

IMHO, homebrew should be removed as a compatible/supported platform in favor of pip installation. Many of the Certbot developers have said this in the past.

This 2022 post will lead to a few links that may help:

I think I posted a more recent answer on this in 2024.

3 Likes

That's interesting to hear and I agree it shouldn't be in the manual then. Does Pip work on MacOS aswell ?

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.