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. https://crt.sh/?q=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: mail.chandlerfamily.org.uk
I ran this command:
certbot list
It produced this output:
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.
My web server is (include version):
nginx 1.18.0 (but not relevant)
The operating system my web server runs on is (include version):
debian 12 (Raspberry Pi Version)
My hosting provider, if applicable, is:
None
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 control panel.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
Can't tell as crash stops that output NOTE recently installed from snap.
snap install --classic certbot
(after I removed it).
This raspberry pi is a mail server and the certificate is used to enable my clients within my home connect to the mail server. the dns within the home points mail.chandlerfamily.org.ok to the local network ip address of the raspberry pi. I normally manually change port forwarding of port 80 on my router temporarily, run certbot renew; and then change it back (it normally points to an internal synology nas running both internal and external web sites and this device also regularly renews certificates) just before the certificate expires. I came to just try and find when that was due today and found certbot completely failing to even start.
I'm not sure what to do next