Hello,
This is my first post on this forum. For reference I was able to generate multi SAN certificate (by adding TXT records in Azure) but I am interested in the plug-in called certbot-dns-plugin. It fails to install as per message below. I also tried installing via virtual environment but this gives me issues (error message attached below as well). Does anyone have some experience how to make this work? I will am planning to use 6 multi SAN certificated (up to 30 SAN per cert). Extra SAN names will be added gradually.
My domain is: throughthelens.art
I ran this command: python3 -m pip install certbot-dns-azure and then also installed via virtual environment.
sudo apt install python3-venv
python3 -m venv ~/certbot-env
source ~/certbot-env/bin/activate
pip install certbot certbot-dns-azure
certbot plugins --text
It produced this output: note: (when ran first command) - If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
(when installed plugin via virtual enviroment) root@EUW1-VSRV-CERT:/home/sipcom# certbot plugins Traceback (most recent call last): File "/root/certbot-env/bin/certbot", line 5, in from certbot.main import main File "/root/certbot-env/lib/python3.12/site-packages/certbot/main.py", line 6, in from certbot._internal import main as internal_main File "/root/certbot-env/lib/python3.12/site-packages/certbot/_internal/main.py", line 23, in from acme import client as acme_client File "/root/certbot-env/lib/python3.12/site-packages/acme/client.py", line 27, in from acme import challenges File "/root/certbot-env/lib/python3.12/site-packages/acme/challenges.py", line 24, in from acme import crypto_util File "/root/certbot-env/lib/python3.12/site-packages/acme/crypto_util.py", line 504, in extensions: Optional[List[crypto.X509Extension]] = None, ^^^^^^^^^^^^^^^^^^^^ File "/root/certbot-env/lib/python3.12/site-packages/cryptography/utils.py", line 76, in getattr obj = getattr(self._module, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Extension'
My web server is (include version): n/a as I am using Oracle ESBC
The operating system my web server runs on is (include version): Ubuntu 24.04 LTS
My hosting provider, if applicable, is: n/a - the certificate is to be installed on Oracle ESBC which I successfully installed but want to automate process when adding extra SAN names.
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 2.9.0