How To Install Free Ssl Certificate On Wordpress

Posted on
  1. Wordpress Update Ssl Certificate
  2. Ssl Certificate Wordpress
  3. How To Install Free Ssl Certificate On Wordpress Website
  4. How To Install Free Ssl Certificate On Wordpress Site

𝗖𝗡𝗲𝗰𝗸 π˜π—΅π—² 𝗽𝗿𝗢𝗰𝗲 𝗼𝗳 π—ͺπ—Όπ—Ώπ—±π—£π—Ώπ—²π˜€π˜€ π˜€π—Άπ˜π—² 𝗡𝗲𝗿𝗲 https://websitelearners.com/get. A) Download, install and activate WordPress HTTPS (SSL) plugin. B) Once activated, click on HTTPS in your WordPress admin interface to visit the plugin’s setting page. C) Enter the SSL host on the Settings page. In most cases, this is merely your domain name. How To Install A Free SSL Security Certificate On Your WordPress Website. Welcome back for another video my name is Adam from WPCrafter.com were I make videos. For non-techies now this is to be a longer than normal video and working to talk SSL. And that is adding a security certificate to your website working to talk about what’s. Installing Free SSL Certificate and Setting up WordPress Once you have enabled your free SSL Certificate, you will need to set up WordPress to start using HTTPS instead of HTTP in all your URLs. The easiest way to do this is by installing and activating the Really Simple SSL plugin on your website.

Series Name
How to host wordpress free with free SSL

Content
  • How to install Free SSL Certificate for your wordpress setup

This post assumes that you have your own wordpress setup running in Google Cloud Platform (GCP) as explained in previous posts and you have updated the DNS records for your domain with the virtual machine’s ip address. We will go through the steps to install Free SSL certificate generated by Letsencrypt.

If you have not updated the DNS records, you have to add two records :

  1. Create A record which is mapped to vm’s ip address.
  2. Create CNAME record mapped to A record for www subdomain.

Below image shows example for dns records in google domains.

Another check : Make sure that HTTP and HTTPS both are allowed for your wordpress VM in GCP. Sometimes even during launch configuration, you have enabled both, after VM is launched, you will find both settings are disabled. So edit the virtual machine, enable both HTTP and HTTPs.

Free SSL Certificate

In below steps, change β€œyour-domain.com” with actual value of your domain name.

Go to GCP Console > Compute Engine > VM Instances.

Against your VM, click SSH button and GCP will open SSH shell to your VM. Enter following commands :

Add ssl cert to wordpress

1. This will download certbot-auto:
> wget https://dl.eff.org/certbot-auto && chmod a+x certbot-auto

2. Create SSL certificate for your domain. It may ask few options
> sudo ./certbot-auto certonly –webroot -w /var/www/html/ -d your-domain.com -d www.your-domain.com

3. Edit your default SSL configuration :
> sudo vi /etc/apache2/sites-available/default-ssl.conf

3A. Add following after ServerAdmin block in file :

3B. At the end of file, Comment out lines for SnakeOil Certs and add below.

4. sudo vi /etc/apache2/sites-available/wordpress.conf and remove all 3 lines and add below lines.

5. Restart Apache to activate above configuration changes.

6. (Optional) Set auto renewal for cert every year.

Testing

After above steps are successful, you should have your wordpress up and running now on HTTPS with SSL certificate matching to your domain name. Test it by visiting β€œhttps://<your-vm-ip-address>” and β€œhttps://<your-domain-name>”. Also check http versions are running.

WordPress Configuration Change

Now next problem is even if you visit https://<your-domain-name>.com, it will redirect to https://<your-vm-ip-address>. To solve that, you need to change wordpress configuration as below.

Before changing WordPress configuration, make sure https version is running, otherwise below change may stop access to your wordpress and wordpress-admin.

Wordpress Update Ssl Certificate

Login to wp-admin,

Ssl Certificate Wordpress

Got to Settings > General >

Change Site URL to β€œhttps://<your-domain.com>”

How To Install Free Ssl Certificate On Wordpress Website

Change host URL to β€œhttps://<your-domain.com>”

After this your wordpress site and admin area both, can be accessed using β€œhttps://<your-domain.com>” and no ip address will be visible in client’s browser window.

Hope this helps you in setting up free wordpress setup.

How To Install Free Ssl Certificate On Wordpress Site

Series Navigation<< Launch WordPress VM in GCP