Apache plugin is not working (CentOS 6.7)

Hi all, I am trying to run Certbot on my VPS but it is failing to run. Please see the details below, thanks!

My domain is: africandefenders.org

I ran this command: ./certbot-auto --apache

It produced this output:
root@vps12715 [/var/log/letsencrypt]# ~/certbot-auto --apache
/root/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/init.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
DeprecationWarning
Version: 1.1-20080819
Version: 1.1-20080819
/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py:496: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return e.message
The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError()

Output of letsencrypt.log:
2016-08-04 14:50:39,310:DEBUG:certbot.main:Root logging level set at 30
2016-08-04 14:50:39,310:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-08-04 14:50:39,310:DEBUG:certbot.main:certbot version: 0.8.1
2016-08-04 14:50:39,311:DEBUG:certbot.main:Arguments: [’–apache’]
2016-08-04 14:50:39,311:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-08-04 14:50:39,315:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2016-08-04 14:50:39,348:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#apache):
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/plugins/disco.py”, line 105, in prepare
self._initialized.prepare()
File “/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot_apache/configurator.py”, line 161, in prepare
raise errors.NoInstallationError
NoInstallationError
2016-08-04 14:50:39,349:DEBUG:certbot.plugins.selection:No candidate plugin
2016-08-04 14:50:39,349:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

My operating system is (include version): centos-release-6-7.el6.centos.12.3.x86_64

My web server is (include version): Apache/2.4.23 (Unix)

My hosting provider, if applicable, is: Inmotion Hosting

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): n/a

Inmotion Hosting doesn’t allow root shell, in at least my account there. You may actually be in a jailshell for your domain. If so, they’ll have to install the cert quarterly for you.

Are you running a VPS or another type of account? I’m not aware that my root access is not full root access - I’ve never been prevented from doing something via root before - installing and running software.

I’m not running VPS. So you’re correct.

Now I see in the certbot documentation: “The Apache plugin currently requires a Debian-based OS with augeas version 1.0; this includes Ubuntu 12.04+ and Debian 7+” - so RHEL/CentOS will not be working currently. It would be good if the certbot guide selector would state this.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.