# Apache plugin not working for Let's Encrypt

**URL:** <https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089>\
**Category:** Help\
**Created:** [August 19, 2016, 12:06am UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089 "2016-08-19T00:06:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haniver](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@Haniver](https://community.letsencrypt.org/u/Haniver)\
**Post date:** [August 19, 2016, 12:06am UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/1 "2016-08-19T00:06:22Z")

</div>

I’m trying to secure my CentOS 7 VPS with Let’s Encrypt. I’ve followed the guidelines in [https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7](https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7) . I’ve set up virtual hosts, installed server dependencies and the Let’s Encrypt client. But when I try to set up the SSL certificate with:  
`./letsencrypt-auto --apache -d balnium.com -d mail.balnium.com`  
I get the error:  
`The apache plugin is not working; there may be problems with your existing configuration. The error was: NoInstallationError()`  
The Apache Plugin for Let’s Encrypt is not working, but how do I make it work?

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [August 19, 2016, 4:38am UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/2 "2016-08-19T04:38:29Z")

</div>

Could you check `letsencrypt.log` for more information? I.e., more details about what could be the problem with Apache.

---

<div class="post-metadata">

**Author:** ![Haniver](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@Haniver](https://community.letsencrypt.org/u/Haniver)\
**Post date:** [August 19, 2016, 4:43pm UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/3 "2016-08-19T16:43:21Z")

</div>

Osiris, thank you for answering. The contents of that file are:

> 2016-08-17 18:50:44,316:DEBUG:certbot.main:Root logging level set at 30  
> 2016-08-17 18:50:44,317:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log  
> 2016-08-17 18:50:44,317:DEBUG:certbot.main:certbot version: 0.8.1  
> 2016-08-17 18:50:44,317:DEBUG:certbot.main:Arguments: ['--apache', '-d', '[balnium.com](http://balnium.com)', '-d', '[www.balnium.com](http://www.balnium.com)', '-d', '[mail.balnium.com](http://mail.balnium.com)']  
> 2016-08-17 18:50:44,317:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)  
> 2016-08-17 18:50:44,328:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache  
> 2016-08-17 18:50:44,360:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#apache):  
> Traceback (most recent call last):  
> File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/plugins/disco.py", line 105, in prepare  
> self.\_initialized.prepare()  
> File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot\_apache/configurator.py", line 161, in prepare  
> raise errors.NoInstallationError  
> NoInstallationError  
> 2016-08-17 18:50:44,362:DEBUG:certbot.plugins.selection:No candidate plugin  
> 2016-08-17 18:50:44,362:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

Thanks

---

<div class="post-metadata">

**Author:** ![Haniver](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@Haniver](https://community.letsencrypt.org/u/Haniver)\
**Post date:** [August 24, 2016, 7:34pm UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/4 "2016-08-24T19:34:58Z")

</div>

@Osiris Hi, does that help?

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [August 24, 2016, 7:42pm UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/5 "2016-08-24T19:42:42Z")

</div>

Not really I’m afraid…

Do you get any extra debug info when you run the `letsencrypt-auto` command with the extra options `-vvv`?

---

<div class="post-metadata">

**Author:** ![Haniver](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@Haniver](https://community.letsencrypt.org/u/Haniver)\
**Post date:** [August 24, 2016, 8:02pm UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/6 "2016-08-24T20:02:25Z")

</div>

@Osiris This is what I get:

x Root logging level set at 0 x  
x Root logging level set at 0 x  
x Saving debug log to /var/log/letsencrypt/letsencrypt.log x  
x Root logging level set at 0 x  
x Saving debug log to /var/log/letsencrypt/letsencrypt.log x  
x certbot version: 0.8.1 x  
x Root logging level set at 0 x  
x Saving debug log to /var/log/letsencrypt/letsencrypt.log x  
x certbot version: 0.8.1 x  
x Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, x  
x ‘[mail.balnium.com](http://mail.balnium.com)’] x  
x Root logging level set at 0 x  
x Saving debug log to /var/log/letsencrypt/letsencrypt.log x  
x certbot version: 0.8.1 x  
x Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, x  
x ‘[mail.balnium.com](http://mail.balnium.com)’] x  
x Discovered plugins: x  
x PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,Plu x  
x ginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalo x  
x ne) x  
x Root logging level set at 0 x  
x Saving debug log to /var/log/letsencrypt/letsencrypt.log x  
x certbot version: 0.8.1 x  
x Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, x  
x ‘[mail.balnium.com](http://mail.balnium.com)’] x  
x Discovered plugins: x  
x PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,Plu x  
x ginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalo x  
x ne) x  
x Requested authenticator apache and installer apache x  
x Saving debug log to /var/log/letsencrypt/letsencrypt.log x  
x certbot version: 0.8.1 x  
x Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, x  
x ‘[mail.balnium.com](http://mail.balnium.com)’] x  
x Discovered plugins: x  
x PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,Plu x  
x ginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalo x  
x ne) x  
x Requested authenticator apache and installer apache x  
x No installation (PluginEntryPoint#apache): x  
x Traceback (most recent call last): x  
x File x  
x “/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/ x  
x plugins/disco.py”, line 105, in prepare x  
x self._initialized.prepare() x  
x File x  
x "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot_ x  
x apache/configurator.py", line 161, in prepare x  
x raise errors.NoInstallationError x  
x NoInstallationError x  
x certbot version: 0.8.1 x  
x Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, x  
x ‘[mail.balnium.com](http://mail.balnium.com)’] x  
x Discovered plugins: x  
x PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,Plu x  
x ginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalo x  
x ne) x  
x Requested authenticator apache and installer apache x  
x No installation (PluginEntryPoint#apache): x  
x Traceback (most recent call last): x  
x File x  
x “/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/ x  
x plugins/disco.py”, line 105, in prepare x  
x self._initialized.prepare() x  
x File x  
x "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot_ x  
x apache/configurator.py", line 161, in prepare x  
x raise errors.NoInstallationError x  
x NoInstallationError x  
x No candidate plugin x  
x Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, x  
x ‘[mail.balnium.com](http://mail.balnium.com)’] x  
x Discovered plugins: x  
x PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,Plu x  
x ginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalo x  
x ne) x  
x Requested authenticator apache and installer apache x  
x No installation (PluginEntryPoint#apache): x  
x Traceback (most recent call last): x  
x File x  
x “/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/ x  
x plugins/disco.py”, line 105, in prepare x  
x self._initialized.prepare() x  
x File x  
x "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot_ x  
x apache/configurator.py", line 161, in prepare x  
x raise errors.NoInstallationError x  
x NoInstallationError x  
x No candidate plugin x  
x Selected authenticator None and installer None x

And in the letsencrypt.log file now I have:

2016-08-24 19:57:12,844:DEBUG:certbot.main:Root logging level set at 0  
2016-08-24 19:57:12,849:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log  
2016-08-24 19:57:12,854:DEBUG:certbot.main:certbot version: 0.8.1  
2016-08-24 19:57:12,859:DEBUG:certbot.main:Arguments: [’–apache’, ‘-vvv’, ‘-d’, ‘[balnium.com](http://balnium.com)’, ‘-d’, ‘[mail.balnium.com](http://mail.balnium.com)’]  
2016-08-24 19:57:12,864:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)  
2016-08-24 19:57:12,874:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache  
2016-08-24 19:57:12,896:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#apache):  
Traceback (most recent call last):  
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/plugins/disco.py”, line 105, in prepare  
self.\_initialized.prepare()  
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot\_apache/configurator.py”, line 161, in prepare  
raise errors.NoInstallationError  
NoInstallationError  
2016-08-24 19:57:12,903:DEBUG:certbot.plugins.selection:No candidate plugin  
2016-08-24 19:57:12,908:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

Thank you

---

<div class="post-metadata">

**Author:** ![pfg](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/pfg/32/1924_2.png) [@pfg](https://community.letsencrypt.org/u/pfg)\
**Post date:** [August 24, 2016, 11:05pm UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/7 "2016-08-24T23:05:53Z")

</div>

Is this a regular CentOS server with the distro-provided `httpd` package (i.e. what you get with `yum install httpd`), or are you using some sort of control panel (something like cPanel) or a custom version of apache? Any additional context you could add regarding your server might help.

---

<div class="post-metadata">

**Author:** ![Haniver](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@Haniver](https://community.letsencrypt.org/u/Haniver)\
**Post date:** [August 25, 2016, 1:33am UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/8 "2016-08-25T01:33:33Z")

</div>

Yes, I’m using Cpanel / WHM, and have Magento 1.9 installed. The server has a web server and DNS server. What else can I tell you?

---

<div class="post-metadata">

**Author:** ![serverco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/serverco/32/4251_2.png) [@serverco](https://community.letsencrypt.org/u/serverco)\
**Post date:** [August 25, 2016, 6:26am UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/9 "2016-08-25T06:26:02Z")

</div>

If you have Cpanel/WHM I’d suggest using the latest version which has support for Let’s Encrypt built in, and you can automatically obtain and maintain certificates uptodate easily that way.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [September 24, 2016, 6:26am UTC](https://community.letsencrypt.org/t/apache-plugin-not-working-for-lets-encrypt/19089/10 "2016-09-24T06:26:12Z")

</div>

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