What to do next?


#1

Hello!

I’m trying to follow the instructions - https://certbot.eff.org/#debianwheezy-apache to install let’s encrypt certificate at apache 2.2.22 for Debian 7 Wheezy

After typing
/root/certbot-auto --apache certonly
I recieved this message:
The apache plugin is not working; there may be problems with your existing configuration.
The error was: NotSupportedError(‘Apache plugin support requires libaugeas0 and augeas-lenses version 1.2.0 or higher, please make sure you have you have those installed.’,)

How should I install all these required packages?


#2

certbot requires a more recent version of libaugeas0 than the one included in wheezy’s repository. During the installation process (i.e. when you first run ./certbot-auto), you should be getting this prompt:

To use the Apache Certbot plugin, augeas needs to be installed from wheezy-backports.
Would you like to enable the wheezy-backports repository [Y/n]?

If you skip this step (not sure what the default is, so just hitting enter might do this), the apache plugin won’t be available, and you’ll need to use something like the webroot plugin instead.

To re-install the OS dependencies, you’ll need to run rm -rf /root/.local/share/letsencrypt/ and then follow the instructions from the page you linked, starting with ./certbot-auto.

(If you don’t get that prompt at all for some reason, I’d be curious about the contents of your /etc/apt/sources.list and /etc/apt/sources.list.d/*)


#3

Thank you. There was no “To use the Apache Certbot plugin…” message. Here is the output https://cloud.mail.ru/public/bMFp/q85PbQhJX

So what to do now better? webroot plugin?


#4

here is the content of etc/apt/sources.list:
deb http://ftp.ru.debian.org/debian wheezy main contrib
deb http://ftp.ru.debian.org/debian wheezy-updates main contrib
deb http://security.debian.org wheezy/updates main contrib

and there are no files at /etc/apt/sources.list.d


#5

There’s one interesting line in that log:

./certbot-auto: 229: ./certbot-auto: lsb_release: not found

Looks like this is a bug on systems that don’t have the lsb-release package installed prior to running certbot:

You can probably fix this by running apt-get install lsb-release and then re-installing as described above.


#6

and what will this command install? Will my site still work in the web after this installation?


#7

it’s a small tool that lets other software determine which distribution the software is running on, see https://packages.debian.org/wheezy/lsb-release. It should not have any impact on your system.


#8

thank you. i executed this command. so now I have to execute rm -rf /root/.local/share/letsencrypt/ and then follow the instructions at https://certbot.eff.org/#debianwheezy-apache again?


#9

Yep! rm -rf /root/.local/share/letsencrypt/ basically tricks certbot into re-installing OS dependencies (I don’t think there’s a cleaner way :confused:).


#10

thank you. Now I see the blue screen where I’m asked which domain to use. Should I choose the main mirror of a site? I see my domain name with www and without www there…


#11

I’ve choosed the name without www and then there was a window


what line should I choose here?


#12

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