Install SSL Certificate on Amazon Bitnami Wordpress Website

How to Get A Free SSL Certificate and How to Install It

SSL Certificates Should Be Free For Everyone

Let's Encrypt and SSL For Free are two of the most famous free SSL services out there, with your new Amazon EC2 Bitnami Wordpress virtual machine, you now need an SSL Certificate. Get your free certificate at SSL4Free.com, install it like a boss the hardway using the SSH command line.  In our knowledge base story regarding 31 Tips for Your First Business Website, our advice is to install an SSL Certificate immediately.  Amazon EC2 Bitnami Wordpress is another great way to get a free website, free of hosting charges. We have a list of free hosting options here. You must run it on the free tier.

Breaking News for June 2020

SSL For Free is retired and now obsolete.  It has been bought out by comodo. You can only get 3 free certs now.  My recommendation is to use Certbot to automate your certificate renewals thru lets' encrypt. Here's a great how to guide for Amazon ECS bitnami. How to use Certbot with bitnami's own basterdized apache webserver.  Here's a great introduction to Lets Encrypt.

Getting Started with a New VM

First thing to do is to generate a server key and certificate request. In this directory:
If you have Debian linux with Bitnami Wordpress from Amazon, then cd to this directory.
/opt/bitnami/apache/conf/bitnami/certs

then
openssl req -newkey rsa:2048 -keyout PRIVATEKEY.key -out MYCSR.csr


Where is Wordpress located
Its right here:  /home/bitnami/apps/wordpress/htdocs

How to Install Your Free SSL Certificate on Amazon/Bitnami WordPress

FYI: Bitnami Wordpress on Amazon EC2 uses Ubuntu 16.04
Here's how to manually install a free LetsEncrypt ssl certificate

Go here and register for a free account
https://www.sslforfree.com/certificates

Add the ACME challenge TXT records to your domain DNS as instructed.

Logon to your EC2 machine using SSH, then change directory to: /opt/bitnami/apache2/conf/ then you will find the SSL certificate files. in this directory:  /opt/bitnami/apache2/conf/ you will find server.crt and server.key.
ssh console screenshot
This directory holds the SSL cert and private key files

The use sudo and vim to copy + paste in the server certificate and the private key file. Insert the certificate and key into these files, the server.csr is a request file.
ssh console screenshot
Use vim with sudo to edit
The restart the services.
ssh console screenshot
Then restart the services

Stop and Start the services
/etc/init.d/bitnami stop
/etc/init.d/bitnami start

root@ip-172-30-0-99:/opt/bitnami/apache2/conf/bitnami# ll /opt/bitnami/apache2/conf/
total 316
drwxr-xr-x  6 bitnami root   4096 Nov 13 07:09 ./
drwxr-xr-x 14 root    root   4096 Aug 15 10:43 ../
drwxr-xr-x  2 bitnami root   4096 Nov 13 07:09 bitnami/
-rw-r--r--  1 bitnami root    289 Aug 15 10:43 deflate.conf
drwxr-xr-x  2 bitnami root   4096 Aug 15 10:40 extra/
-rw-r--r--  1 bitnami root  20192 Nov 13 06:34 httpd.conf
-rw-r--r--  1 bitnami root  13077 Jul 30 15:17 magic
-rw-r--r--  1 bitnami root  60847 Jul 30 15:17 mime.types
-rw-r--r--  1 bitnami root   7413 Aug  2  2012 modsecurity.conf
drwxr-xr-x  3 bitnami root   4096 Aug 15 10:40 original/
-rw-r--r--  1 bitnami root  17447 Aug 15 10:43 pagespeed.conf
-rw-r--r--  1 bitnami root 141034 Aug 15 10:40 pagespeed_libraries.conf
-rw-r--r--  1 bitnami root    199 Aug 15 10:41 php-fpm-apache.conf
-rw-r--r--  1 bitnami root   1834 Nov 12 03:50 privkey.pem
drwxr-xr-x  2 root    root   4096 Nov 13 07:05 saved.d/
-rw-r--r--  1 root    root   1968 Nov 13 07:06 server.crt
-rw-r--r--  1 root    root    985 Nov 12 03:50 server.csr
-rw-r--r--  1 root    root   1704 Nov 13 07:06 server.key
-rw-r--r--  1 bitnami root    203 Aug 15 10:42 ssi.conf



Many Thanks To
This Tech Tidbit was brought to you by your friends at Eleven Dimensions Computer Technologies.
See our new 11D website at:

Our Partner Websites:

Bare Wire Networks:     http://www.barewirenetworks.com
CTI Solutions:   http://www.cti-solutions.com


Many Thanks to Our Partner companies

Comments

  1. If you don't have an SSL certificate, your website may still function as always, but it will be vulnerable to hackers and Google will warn visitors that your website is not secure. Google also gives priority to websites that have an SSL certificate.
    for more information click here:
    HOW MUCH DOES AN SSL CERTIFICATE COST

    ReplyDelete
  2. I was just about to give up on my website for now and try something "simpler WordPress Tutorial " but you just saved the day!! 💜 Definitely subbed and can't wait to watch more!!

    ReplyDelete
  3. This is very valuable thing shared, I just wanna thanks for letting us know about this wonderful information. In 30 seconds, how many mouse clicks can you make? Not only is it possible to count the number of clicks per time frame, but many users play the game and compete globally. This is the article in which you can count the number of clicks within your time limit. Click Speed Test

    ReplyDelete

Post a Comment

Popular posts from this blog

Microsoft Visio 2010 Premium Product Keys

Mercedes Benz Diesel CDI EGR Emulator Circuit Diagrams

Fix: The Diagnostic Service Host service failed to start due to the following error. [ solved, no kidding ]