How to Install SSL Certificates for Your Domain in Google Cloud Platform VM Instance

How to Install SSL Certificates for Your Domain in Google Cloud Platform VM Instance

In this article, we are going to install SSL certificates for our hosted domains.

In our previous article we 

For installing SSL Certificates we are going to use Let’s Encrypt. Let’s Encrypt provide free SSL Certificates. For installing SSL Certificates open terminal and execute the following commands.

 

Code

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 

Now we are ready to install SSL Certificates. Execute the following command to install SSL Certificates.

Code

sudo certbot --apache
  1. After executing above command we need provie an email account. Please provide email which you used frequently. You will going to recieve SSL Certificate expiration emails on this email.
  2. Next you need to Agree the Terms of Service
  3. Confirmation for sharing your email with Electronic Frontier
  4. Now we need to select domains for which we need to Install SSL Certificates.
  5. Finally select How to handle http requests. We are going to recomended select option 2
sudo certbot --apache
0 Comments
Leave A Comment

Please login to post your valuable comments.

Join the newsletter

Get the latest vLemonn news first

share