Hey,
wanted to make a small change to letsencrypt an ran into an error.
Creating a bug report/issue:
I have searched the existing open and closed issues
yes, but since i dont know what to look for its possible i overlook threat with the same problem.
Required Information
-
DietPi version |
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=25
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’ -
Distro version |
bullseye 0 -
Kernel version |
uname -a
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux -
Architecture |
arm64 -
SBC model |
RPi 4 Model B (aarch64) -
Power supply used |
not sure but came with the pi. -
SD card used | (EG: SanDisk ultra)
no SD Card. SSD
Additional Information (if applicable)
- Bug report ID |
- Reference code: e558f862-3c7e-4747-8e29-e99a642a97d4
Steps to reproduce
letsEncrypt was running for month without problems.
was using ‘dietpi-launcher’ to enter the LetsEncrypt setup
Changed Redirect from off to on and hit Apply.
Expected behaviour
renew Cert
Actual behaviour
[ OK ] DietPi-LetsEncrypt | Nginx webserver detected
[ OK ] DietPi-LetsEncrypt | Desired setting in /etc/nginx/sites-available/default was already set: server_name lanfred.mywire.org;
[ OK ] DietPi-LetsEncrypt | systemctl restart nginx
Traceback (most recent call last):
File "/usr/bin/certbot", line 33, in <module>
sys.exit(load_entry_point('certbot==1.12.0', 'console_scripts', 'certbot')())
File "/usr/bin/certbot", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/certbot/main.py", line 2, in <module>
from certbot._internal import main as internal_main
File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 10, in <module>
import josepy as jose
File "/usr/lib/python3/dist-packages/josepy/__init__.py", line 41, in <module>
from josepy.interfaces import JSONDeSerializable
File "/usr/lib/python3/dist-packages/josepy/interfaces.py", line 7, in <module>
from josepy import errors, util
File "/usr/lib/python3/dist-packages/josepy/util.py", line 7, in <module>
import OpenSSL
File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1556, in <module>
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1577, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
[FAILED] DietPi-LetsEncrypt | Certbot failed, please check its above terminal output. Aborting...
Extra details
Can enter my Nextcloud with my iPhone via DynuDNS-Address with wlan or LTE but not on my iPad with WLAN (no LTE Modul). but not working on annother PC from outside my Network.