We have a new user retention program available at our site, and have decided to give our users valuable rewards for free in order to value your important time as our visitor.
Available rewards (All free!)
- Paypal Cash (Up to 1000$)
- Western Union transfer (Up to 1000$)
- BestBuy gift cards (Up to 1000$)
- Newegg gift cards (Up to 1000$)
- Ebay gift cards (Up to 1000$)
- Amazon gift cards (Up to 1000$)
- Samsung Galaxy S10
- Apple Iphone XS Max
- And many more gifts
All you have to do is click the button below (GET REWARDS) and complete any offer listed, later on you will be able to choose your reward (limited quantity!):
In this tutorial you will learn how to configure free, auto-renewing SSL certificates for WordPress websites that are hosted on Google Cloud Platform using the Click-to-Deployversion of WordPress.
If you’re using the Bitnami version of WordPress on Google Cloud Platform, you can view that SSL certificate tutorial here.
Having SSL Security on your website will improve your Google search ranking.
Before getting started with this tutorial, you should have already installed WordPress on Google Cloud Platform, and set up a domain name for your WordPress website.
There are 10 steps in this tutorial:
- 1. Connect to WordPress via SSH
- 2. Install Git
- 3. Install CertBot Client
- 4. Generate Certificates
- 5. Setup Certificate Auto-Renewal
- 6. Configure the Certificates
- 7. Configure HTTPS Redirect
- 8. Restart your Apache Server
- 9. Edit WordPress Settings
- 10. Change Permalink Structure
1. Connect to WordPress via SSH
2. Install Git
sudo -i sudo apt-get install git-all
3. Install CertBot Client
cd /tmp git clone https://github.com/certbot/certbot
After running each of these commands, you can stay in the same SSH window or exit and open a new one.
4. Generate Certificates
cd /tmp/certbot ./certbot-auto certonly --webroot -w /var/www/html/ -d eborchids.com -d www.eborchids.com
5. Setup Certificate Auto-Renewal
sudo -i cd /tmp/certbot/ ./certbot-auto renew --dry-run
crontab -e 1
0 0 * * * cd && ./certbot-auto renew --quiet --no-self-upgrade 0 12 * * * cd && ./certbot-auto renew --quiet --no-self-upgrade
6. Configure the Certificates
sudo -i nano /etc/apache2/sites-available/default-ssl.conf
<Directory /var/www/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
SSLCertificateFile "/etc/letsencrypt/live/eborchids.com/cert.pem" SSLCertificateKeyFile "/etc/letsencrypt/live/eborchids.com/privkey.pem" SSLCertificateChainFile "/etc/letsencrypt/live/eborchids.com/chain.pem"
After adding this code, enter ctrl+o to save changes, followed by ctrl+x to exit back to your home screen.
7. Configure HTTPS Redirect
sudo -i nano /etc/apache2/sites-available/wordpress.conf
ServerName www.eborchids.com Redirect / https://www.eborchids.com/
After adding the code to your wordpress.conf file, enter ctrl+o to save your changes.
8. Restart your Apache Server
sudo a2ensite default-ssl service apache2 reload sudo a2enmod ssl service apache2 reload sudo service apache2 restart
9. Edit WordPress Settings
10. Change Permalink Structure
Did it Work?
If your SSL certificates were configured properly, you will notice that your website is being loaded with a green padlock icon.
Because you configured auto-renewal for your certificates, you don’t ever need to renew them or setup new ones.
Pretty cool, huh?