Jump to content

BlackTools 2.5.3 - One TCL, One Smart EggDrop

BlackTools is the most complete channel management tcl script for eggdrop/windrop who can manage channels from all the IRC networks, although some modules are specifically designed only for Undernet network. Offers everything you need for you to start using your eggdrop by having a lots of commands, protections, modules that make your channel more safe and your life easier.
Download Now

Eggdrop 1.8.3 - Stable Release

Eggdrop is the most advanced, most popular, and best supported IRC bot. If you've never used a bot before, you'll find Eggdrop provides a staggering array of options for channel management, and can easily be expanded further to provide even more functions. It is a feature rich program designed to be easily used and expanded upon (using Tcl scripting) by both novice and advanced IRC users on a variety of hardware and software platforms.
The Eggdrop code is free for anyone to download and use.
Download Now

BlackMeteo 1.2 - Rebuilt in a New Style

Displays real-time weather conditions, days forecast and local time from any city in the world.
Supports US Zipcode, UK Postcode, Canada Postalcode or worldwide city name.
Download Now

BlackIP 1.8 - New System Style.

Returns IP address dns, location and organization informations for a nick/IP/hostname.
Both IPv4 & IPv6 supported.
Download Now

YouTubeTitle 1.7 - Added Lenght Time.

Fetches and displays video information when a YouTube link is posted in channel.
Displays title, date and rating of posted video links.
Supports also HTTPS links.
Download Now
Sign in to follow this  

Setup Let's Encrypt With Apache on Ubuntu 14.04

Rate this topic

Recommended Posts

Let's Encrypt is a new certificate authority that allows you to issue SSL certificates for free. You can now use SSL without any extra costs. When using an SSL certificate, all traffic between the client and the server is encrypted -- which drastically improves your website security.

This guide covers the installation of a Let's Encrypt certificate and automatic renewal on Ubuntu.

By the end of this tutorial you will have an Apache server setup on Ubuntu 14.04 with Let's Encrypt.

Step 1: Prerequisites

You will need a Vultr SSD cloud server with Ubuntu 14.04 installed. You will also need a LAMP stack (Apache, PHP, etc.). If you do not yet have a LAMP stack installed on your Vultr server, please refer to the following knowledge base article: How to Install Apache, MySQL, and PHP on Ubuntu.

Once you have a working LAMP Stack on your Ubuntu Server, you can proceed with with installing Let's Encrypt.

In order to generate and install your SSL certificate, you will need Git to clone the Let's Encrypt repository:

$[ubuntu] apt-get install git
$[ubuntu] git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt

This will download the Let's Encrypt installer to /opt/letsencrypt.

Step 2: Generating a Let's Encrypt SSL certificate

Let's Encrypt verifies your domain by setting up a temporary web server process on your Ubuntu server. This process will run independently of your Apache server. After the SSL certificate has been generated, the temporary web server process will be automatically terminated by the Let's Encrypt installer. The installer will then install your newly created certificate on the Apache web server.

$[ubuntu] ./letsencrypt-auto --apache -d yourubuntuserver.example

If you want Let's Encrypt to generate an SSL certificate for even more domains, simply add those domains to the command.

$[ubuntu] ./letsencrypt-auto --apache -d yourubuntuserver.example -d mysslcertificate.example

This feature is very handy for securing your www subdomain. Right now, users who visit your website with the www prefix will get an SSL error. This kind of error will hurt your reputation. In order to resolve it, use a command like this:

$[ubuntu] ./letsencrypt-auto --apache -d yourubuntuserver.example -d www.yourubuntuserver.example

The Let's Encrypt client will now create a Let's Encrypt SSL certificate not only for yourubuntuserver.example but also for www.yourubuntuserver.example!

Step 3: Forcing SSL

You can now force your Apache server to route all HTTP requests to HTTPS. The best way to do this by creating an .htaccess file in your "www root" folder and appending the following rewrite code:

RewriteEngine On 
RewriteCond % 80 
RewriteRule ^(.*)$ https://letsencrypt.example/$1 [R,L]

All incoming traffic on the HTTP port 80 will now automatically be redirected to port 443, which utilizes your LE SSL certificate.

Step 4: Automatically renewing Let's Encrypt certificates

As Let's Encrypt is a free certificate authority, SSL's can't be provided for one year or longer. All Let's Encrypt certificates are valid for 90 days. However, if you want to automatically renew them, this can be automated using a cron job. You can choose to renew certificates when they're about to expire.

Open your crontab:

$[ubuntu] crontab -e

Append the following line to the crontab:

15 5 * * 5 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log

This cron job runs the /opt/letsencrypt/letsencrypt-auto renew command every Friday at 5:15 A.M. We have chosen to renew the certificates at this time because this is typically a period with little to no traffic on most sites. Therefore, visitors will not notice any delays because the server is under heavy load during the renewal and checking of all Let's Encrypt certificates.

Your Ubuntu Server is now running a fully functional LAMP Stack and your website is using an SSL Certificate form Let's Encrypt with automatic renewal setup.

It is possible to use more than one Let's Encrypt SSL certificate on your server; simply follow step #2 again for each domain.

This concludes our tutorial, thank you for reading.

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this