How do I know which version of Linux I am running


#4

Interesting! How about

cat /etc/*-release /etc/debian_version


#5


#6

Huh! And I guess Hostgator didn’t tell you what version of Linux it was either?


#7

No they did not. What should I do?


#8

I’m asking some colleagues for other suggestions.


#9

So, you could try running yum and apt and see if either of those package-management commands exist.

Our certbot-auto bootstrap script is not going to be able to bootstrap Certbot on your system.

You might want to try one of the bash clients from

They have relatively few dependencies and can often run on a wide range of operating systems without installing a lot of additional software. (Unlike Certbot, they don’t attempt to edit your web server configuration to install the certificate after obtaining it, so you’ll have to install the certificate in your web server yourself.)


#10

Looks like CentOS 6 to me.


#11

@schoen @sahsanu, I have setup using CentOS 6, but I get the following error for root.


#12

@JamesVanWaza, that error is really strange. Show the output of this command:

namei -lm /usr/bin/sudo

Anyway, you can execute certbot-auto command without sudo, you are already root.


#13

Also, /path/to/certbot-auto doesn’t mean actually typing “/path/to/certbot-auto” — it means typing in wherever you downloaded it on your system (which in this case is the current directory ., so you would run ./certbot-auto to start it out of the current directory).


#14

I wouldn’t worry too much about the sudo thing. They’re probably running in a container.


#15

Yes, I was thinking that could be a container or the user is using chroot.


#16

this is what I get


#17

That is ok, it is strange to have ishmaelsu as group on / but maybe you are chrooted so no problem. Then you should try the certbot command again, without sudo and using the right path… for example:

./certbot-auto --apache

As you are using CPanel, are you sure you can’t get the cert for your domain using the AutoSSL plugin?, maybe your hosting provider has not enabled it but it is worth to check it.

Cheers,
sahsanu


#18

And if they don’t have any support for Let’s Encrypt, it’s better to use acme.sh with CPanel:

Using certbot will install the certificate without CPanel’s knowledge, so it’s possible it could get overwritten when CPanel updates your web server configuration. acme.sh can automatically upload your certificate to your CPanel using its API, which is more reliable.


How to get a certificate
#19

@Patches @sahsanu

I started installing but I got this error, what does it mean.


#22

#23

@Patches
So I went to cPanel and did not see WHM. That means I have to ask them correct?


#24

There should be a separate link to it in the e-mail they sent you the CPanel link:

http://support.hostgator.com/articles/how-do-i-log-into-the-web-host-manager-whm


#25

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