Problem getting certbot-auto to run at all


#1

My operating system is (include version): centos-release-6-8.el6.centos.12.3.i686
My web server is (include version): Apache/2.2.15 (Unix)
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): no

Let me start by saying I am a newbie when it comes to Linux.
Nevertheless, I decided to start using letsencrypt for my domains that don’t already have a paid certificate.
I installed certbot-auto as per instructions on certbot.eff.org:

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

After completing the install of it and its dependencies nothing seems to actually work.

[root@xxxxxxxxxx letsencrypt]# certbot --version
-bash: certbot: command not found certbot-auto
[root@xxxxxxxxxx letsencrypt]# certbot-auto --version
-bash: certbot-auto: command not found

I checked the root directory and found certbot-auto there

[root@xxxxxxxxxx ~]# ls -l
total 1096
-rwxr-xr-x 1 root root 46237 Jan 13 20:25 certbot-auto

but even when I try to execute it from that directory I get the same result

[root@xxxxxxxxxx ~]# certbot-auto --help
-bash: certbot-auto: command not found

In the intro page on certbot.eff.org it says: “For full command line help, you can type: ./certbot-auto --help all”

[root@xxxxxxxxxx ~]# ./certbot-auto --help all
^C

The command gave me nothing. It just sits there, nothing happens so I aborted

As I said, I do have paid certificates for other domains that I renew and install myself every year.
Including all that I need to do with the CA, like getting a CSR, making changes to my server etc, it takes me about 1 hour to complete the install.

With certbot-auto, which is supposed to " automate away the pain", I have so far spent the better part of 2 days and still am nowhere near figuring this out, especially the fact that nothing seems to work as specified in the instructions I am given when I select Apache and CentOS6

When I follow the instructions from the CA for my paid certficate it all goes off without a hitch, which seems to imply that the certbot documentation, as it exists, is incomplete or inaccurate or, at the very minimum, unclear and aimed at professionals. This seems to contradict its stated intention of automating away the pain.

More complete and accurate information would be extremely helpful, especially for the non-expert Linux users like me who think that this is the answer to their prayers.

As an aside, I also assume that other directories mentioned in the instructions are created later because those that should appear in the /etc/letsencript directory, such as /live are absent.

[root@xxxxxxxxxx ~]# /etc/letsencrypt/live
-bash: /etc/letsencrypt/live: No such file or directory

I was also unable to find any mention about having to create a CSR with certbot-auto or not.

This all may have something to do with my limited knowledge of Linux but any enlightenment I can get wil be appreciated.

Btw, one of the dependencies installed when installing certbot-auto is Python 2.6
The install of that prompted the following message:

“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”

Is this a certbot-auto package issue?


#2

For how long dit you wait?

The ./ start is correct, that’s why the previous commands returned “command not found” errors.

I’d suggest just waiting a bit longer.


#3

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