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: https://dismyserver.net (certificate will not be installed here)
I ran this command:
sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials /home/rooot/cloudflare_creds.txt -d dismyserver.net,*.dismyserver.net --preferred-challenges dns-01
It produced this output:
An unexpected error occurred:
AttributeError: module ‘certbot.plugins.common’ has no attribute ‘TLSSNI01’
Please see the logfile ‘/tmp/tmphmjxfvpe/log’ for more details.
(logfile)
2020-01-01 09:47:47,472:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/certbot/main.py", line 14, in main
return internal_main.main(cli_args)
File "/usr/local/lib/python3.6/dist-packages/certbot/_internal/main.py", line 1320, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/lib/python3.6/dist-packages/certbot/_internal/plugins/disco.py", line 208, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/lib/python3.6/dist-packages/certbot/_internal/plugins/disco.py", line 50, in __init__
self.plugin_cls = entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2330, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/certbot_apache/entrypoint.py", line 4, in <module>
from certbot_apache import configurator
File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 32, in <module>
from certbot_apache import http_01
File "/usr/lib/python3/dist-packages/certbot_apache/http_01.py", line 13, in <module>
class ApacheHttp01(common.TLSSNI01):
File "/usr/local/lib/python3.6/dist-packages/certbot/plugins/common.py", line 445, in __getattr__
return getattr(self._module, attr)
AttributeError: module 'certbot.plugins.common' has no attribute 'TLSSNI01'
2020-01-01 09:47:47,472:ERROR:certbot._internal.log:An unexpected error occurred:
My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2019-09-16T12:58:48
The operating system my web server runs on is (include version):
Ubuntu 18.04.3 LTS
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot --version produces the same error as the command I tried above.
apt-cache policy certbot | grep -i installed
Installed: 0.31.0-1+ubuntu18.04.1+certbot+1
I also updated all the packages on my server to attempt to resolve this, but I am still receiving the error.