Both installing Certbot using Snap and using the rehmatworks/serverpilot-letsencrypt installer fails with the below errors. Thanks for any help.
My domain is: outdoorgearalerts.com
It produced this output:
/usr/local/lib/python3.5/dist-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python.
from cryptography import utils, x509
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for outdoorgearalerts.com
An unexpected error occurred:
AttributeError: module 'acme.challenges' has no attribute 'TLSSNI01'
Please see the logfiles in /var/log/letsencrypt for more details.
2020-12-28 19:42:26,574:DEBUG:acme.client:Storing nonce: 0003VYPB8UBaxOATSNM9a2gbyi6ST9kpnLfnUnxcuquZcAo
2020-12-28 19:42:26,575:INFO:certbot.auth_handler:Performing the following challenges:
2020-12-28 19:42:26,575:INFO:certbot.auth_handler:http-01 challenge for outdoorgearalerts.com
2020-12-28 19:42:26,576:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/certbot/main.py", line 1378, in main
return config.func(config, plugins)
File "/usr/local/lib/python3.5/dist-packages/certbot/main.py", line 1265, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/usr/local/lib/python3.5/dist-packages/certbot/main.py", line 121, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/local/lib/python3.5/dist-packages/certbot/client.py", line 405, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/local/lib/python3.5/dist-packages/certbot/client.py", line 348, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/local/lib/python3.5/dist-packages/certbot/client.py", line 384, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/local/lib/python3.5/dist-packages/certbot/auth_handler.py", line 61, in handle_authorizations
achalls = self._choose_challenges(authzrs)
File "/usr/local/lib/python3.5/dist-packages/certbot/auth_handler.py", line 185, in _choose_challenges
if any(isinstance(achall.chall, challenges.TLSSNI01) for achall in achalls):
File "/usr/local/lib/python3.5/dist-packages/certbot/auth_handler.py", line 185, in <genexpr>
if any(isinstance(achall.chall, challenges.TLSSNI01) for achall in achalls):
AttributeError: module 'acme.challenges' has no attribute 'TLSSNI01'
2020-12-28 19:42:26,578:ERROR:certbot.log:An unexpected error occurred:
My web server is (include version): nginx/1.19.6
The operating system my web server runs on is (include version): Ubuntu 16.04.7 LTS (GNU/Linux 5.8.3-x86_64-linode137 x86_64)
My hosting provider, if applicable, is: Linode using Serverpilot
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, but using Serverpilot. I have root access.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 0.39.0