Jump to content

Recommended Posts

Posted

Just found an awesome bot to deploy LE certificates automatically on your virtual server.

 

Install

On Ubuntu systems, the Certbot team maintains a PPA. Once you add it to your list of repositories all you'll need to do is apt-get the following packages.

 

$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache 

 

Get Started

Certbot has a fairly solid beta-quality Apache plugin, which is supported on many platforms and automates certificate installation.

 

$ sudo certbot --apache

 

Running this command will get a certificate for you and have Certbot edit your Apache configuration automatically to serve it. If you're feeling more conservative and would like to make the changes to your Apache configuration by hand, you can use the certonly subcommand:

 

$ sudo certbot --apache certonly

 

Automating renewal

The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let's Encrypt certificates last for 90 days, it's highly advisable to take advantage of this feature. You can test automatic renewal for your certificates by running this command:

 

$ sudo certbot renew --dry-run

Posted

How to install Let's Encrypt on Nginx running Ubuntu 16.04

 

Install

 

$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-nginx 

 

Get Started

Certbot has a Nginx plugin, which is supported on many platforms, and certificate installation.

 

$ sudo certbot --nginx

 

If you're feeling more conservative and would like to make the changes to your Nginx configuration by hand, you can use the certonly subcommand:

 

$ sudo certbot --nginx certonly

 

Automating renewal

The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let's Encrypt certificates last for 90 days, it's highly advisable to take advantage of this feature. You can test automatic renewal for your certificates by running this command:

 

$ sudo certbot renew --dry-run

Posted

Always wondered, what makes Digital Ocean better versus a VPS from a local company like domains.co.za, because as far as I understand what you put on it has nothing to do with where you host it so what is the benefit of a VPS from local vs one from Digital Ocean?

 

I have a VPS with OVH in Canada as well and the only downside of it is latency, which I assume will be the same for Digital Ocean?.

Posted

Well, there is the price and the pre-configured droplets. The only experience I've had with a VPS in SA was with WebAfrica: 1) they are expensive and 2) there is a stupid cancellation period. On Digital Ocean if I destroy/stop the droplet the per usage billing stops accordingly and immediately.

 

EDIT: And signing up with that link doesn't hurt. Once your are in there are a couple of vouchers you can get. Easy to get up to three/four months free hosting :P

IQ Test

Posted

Perfect, I just wanted to make sure I am not missing something, so on Digital Ocean they simply call their VPSes droplets, but it's still a normal VPS, on local providers you can also choose the CPU, RAM, SSD, Bucket storage, OS, pre configured recipes etc. Digital Ocean just makes it look a bit more flashy and elegant, but it's the same thing plus latency.

 

As for Web Africa, hahaha.

I cried a little thinking about that experience of yours with them, but you can be glad you did not host with Afrihoax.

Posted

I might still try domains, but if I ever leave HostKing I'll just leave the SA providers altogether. I've got a couple of parked domains at GridHost (WebAfrica) - so far they haven't messed that up.

IQ Test

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...