Note:- I already have this domain signed with certificate on other server now i am migrating to new server and trying to sign again.
My domain is: www.qject.com
I ran this command: sudo certbot --apache
It produced this output:
Traceback (most recent call last):
File “/usr/local/bin/certbot”, line 11, in
sys.exit(main())
File “/usr/local/lib/python2.7/dist-packages/certbot/main.py”, line 896, in main
return config.func(config, plugins)
File “/usr/local/lib/python2.7/dist-packages/certbot/main.py”, line 594, in run
installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, “run”)
File “/usr/local/lib/python2.7/dist-packages/certbot/plugins/selection.py”, line 185, in choose_configurator_plugins
authenticator = installer = pick_configurator(config, req_inst, plugins)
File “/usr/local/lib/python2.7/dist-packages/certbot/plugins/selection.py”, line 25, in pick_configurator
(interfaces.IAuthenticator, interfaces.IInstaller))
File “/usr/local/lib/python2.7/dist-packages/certbot/plugins/selection.py”, line 77, in pick_plugin
verified.prepare()
File “/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py”, line 228, in prepare
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self._plugins)]
File “/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py”, line 114, in prepare
self._initialized.prepare()
File “/usr/lib/python2.7/dist-packages/certbot_apache/configurator.py”, line 203, in prepare
except (OSError, errors.LockError):
AttributeError: ‘module’ object has no attribute ‘LockError’
My web server is (include version):
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-07-27T14:34:01
The operating system my web server runs on is (include version):
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
My hosting provider, if applicable, is: digitalocean
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):