Hi All,
i’ve got problem while executing
sudo -H bench setup lets-encrypt [site name]
dev@ubuntuserver:~/frappe-bench$ sudo -H bench setup lets-encrypt erp.aaa.com
Running this will stop the nginx service temporarily causing your sites to go offline
Do you want to continue? [y/N]: Y$ sudo systemctl stop nginx
$ /usr/local/bin/certbot --config /etc/letsencrypt/configs/erp.aaa.com.cfg certonly
Traceback (most recent call last):
File “/usr/local/bin/certbot”, line 5, in
from certbot.main import main
File “/usr/local/lib/python3.10/dist-packages/certbot/main.py”, line 6, in
from certbot._internal import main as internal_main
File “/usr/local/lib/python3.10/dist-packages/certbot/_internal/main.py”, line 19, in
import josepy as jose
File “/usr/local/lib/python3.10/dist-packages/josepy/init.py”, line 40, in
from josepy.json_util import (
File “/usr/local/lib/python3.10/dist-packages/josepy/json_util.py”, line 14, in
from OpenSSL import crypto
File “/usr/lib/python3/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import crypto, SSL
File “/usr/lib/python3/dist-packages/OpenSSL/crypto.py”, line 3279, in
_lib.OpenSSL_add_all_algorithms()
AttributeError: module ‘lib’ has no attribute ‘OpenSSL_add_all_algorithms’$ sudo systemctl start nginx
There was a problem trying to setup SSL for your site
Setting Up cron job to Renew lets-encrypt every month
pip3 Package
cryptography 39.0.0
certbot 2.2.0
anyone can help ??
thanks