Installation certificat SSL

Bonjour,

Je souhaite avoir l’accès Jeedom en HTTPS pour telegram.

j’ai suivi la manip bien détaillé du blog

https://www.domo-blog.fr/securiser-access-jeedom-https-certificat-ssl-letsencrypt-raspberrypi/?unapproved=48081&moderation-hash=76574e60196cf8a4250450ca8b38bca9#comment-48081)"")

ça bloque à l’installation du certificat et plus précisemment à “sudo certbot –apacache”

Je précise que j’ai bien accès à via mon nom de domaine en http.

J’ai cela à la fin de la commande “sudo certbot –apacache” :

Florian@jeedom:~ $ sudo certbot --apache
Traceback (most recent call last):
File « /snap/certbot/4183/bin/certbot », line 5, in
from certbot.main import main
File « /snap/certbot/4183/lib/python3.12/site-packages/certbot/main.py », line 6, in
from certbot._internal import main as internal_main
File « /snap/certbot/4183/lib/python3.12/site-packages/certbot/_internal/main.py », line 20, in
import josepy as jose
File « /snap/certbot/4183/lib/python3.12/site-packages/josepy/init.py », line 40, in
from josepy.json_util import (
File « /snap/certbot/4183/lib/python3.12/site-packages/josepy/json_util.py », line 24, in
from OpenSSL import crypto
File « /snap/certbot/4183/lib/python3.12/site-packages/OpenSSL/init.py », line 8, in
from OpenSSL import SSL, crypto
File « /snap/certbot/4183/lib/python3.12/site-packages/OpenSSL/SSL.py », line 11, in
from OpenSSL._util import (
File « /snap/certbot/4183/lib/python3.12/site-packages/OpenSSL/_util.py », line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
File « /snap/certbot/4183/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/binding.py », line 15, in
from cryptography.exceptions import InternalError
File « /snap/certbot/4183/lib/python3.12/site-packages/cryptography/exceptions.py », line 9, in
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
RuntimeError: OpenSSL 3.0’s legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.

J’ai peut être loupé quelque chose. Je suis sur Debian 11 avec Jeedom 4.4.19 et du Python 3.9.2 Merci d’avance pour votre aide.

PS : je n’ai rien fait de particulier sur Jeedom mise à part configurer le port externe. y’a t-il quelque chose à déclarer ou activer ?

Flo

Bonjour,

Ca ressemble au même problème qu’ici :

Quelle est la version de Debian ?

C’est Debian 11.