Renewal error : AttributeError: 'module' object has no attribute 'TLSSNI01'

Got this error on domains renewal since some days:

2020-01-09 07:58:14,635:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File “/bin/letsencrypt”, line 9, in
load_entry_point(‘certbot==1.0.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python2.7/site-packages/certbot/”, line 14, in main
return internal_main.main(cli_args)
File “/usr/lib/python2.7/site-packages/certbot/_internal/”, line 1320, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File “/usr/lib/python2.7/site-packages/certbot/_internal/plugins/”, line 208, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File “/usr/lib/python2.7/site-packages/certbot/_internal/plugins/”, line 50, in init
self.plugin_cls = entry_point.load()
File “/usr/lib/python2.7/site-packages/”, line 2260, in load
entry = import(self.module_name, globals(),globals(), [‘name’])
File “build/bdist.linux-x86_64/egg/certbot_apache/”, line 4, in
File “build/bdist.linux-x86_64/egg/certbot_apache/”, line 32, in
File “build/bdist.linux-x86_64/egg/certbot_apache/”, line 13, in
File “/usr/lib/python2.7/site-packages/certbot/plugins/”, line 445, in getattr
return getattr(self._module, attr)
AttributeError: ‘module’ object has no attribute ‘TLSSNI01’
2020-01-09 07:58:14,635:ERROR:certbot._internal.log:An unexpected error occurred:

My web server is (include version): Apache 2.4.6

The operating system my web server runs on is (include version): CentOS 7.7.1908

My hosting provider, if applicable, is: OVH

I can login to a root shell on my machine: yes

I’m using a control panel to manage my site : webmin 1.940

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): can’t get version number : /bin/letsencrypt --version
An unexpected error occurred:
AttributeError: ‘module’ object has no attribute ‘TLSSNI01’
Please see the logfile ‘/tmp/tmpYodW4d/log’ for more details.

CentOS Package version : 1.0.0-1.el7 (latest)

1 Like

It seems like you have an older version of Certbot’s apache plugin.

I’m not a CentOS expert, but…

How was Certbot installed?

How was Certbot’s apache plugin involved?

Are they both up-to-date?

Is everything up-to-date?

1 Like

Cerbot was installed with webmin setup and Certbot apache plugin is involved by webmin.

No update are available for certbot and everything else is up-to-date.


Found a strange info with pip list


certbot-apache seems to be outdated so i run

pip uninstall certbot-apache

Then certbot --version run without error

certbot --version
certbot 1.0.0