How to add FREE SSL certificate on your AWS Lightsail instance

 Step 1: Open terminal on your instance
 





Step 2:  After opening terminal follow this below steps:

  1. sudo /opt/bitnami/bncert-tool
  2. Domain list []: game.example.com
  3. The following domains were not included: www.game.example.com. Do you want to add them? [Y/n]: n
  4. Enable HTTP to HTTPS redirection [Y/n]: y
  5. Confirm the final changes Changes to perform

    The following changes will be performed to your Bitnami installation:

    1. Stop web server
    2. Configure web server to use a free Let's Encrypt certificate for the domains:
    game.example.com
    3. Configure a cron job to automatically renew the certificate each month
    4. Configure web server name to: game.example.com
    5. Enable HTTP to HTTPS redirection (example: redirect
    http://game.example.com to https://game.example.com)
    6. Start web server once all changes have been performed

    
       Do you agree to these changes? [Y/n]: Y

      
6. Create a free HTTPS certificate with Let’s Encrypt
Please provide a valid e-mail address for which to associate your Let's Encrypt 
certificate.
Domain list: game.example.comServer name: game.example.comE-mail address []: pramendra@gmail.comThe Let's Encrypt Subscriber Agreement can be found at:https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf

Do you agree to the Let’s Encrypt Subscriber Agreement? [Y/n]: Y



7. Find more details in the log file
/tmp/bncert-xxxxx.logIf you find any issues, please check Bitnami Support forums at:https://community.bitnami.com

Press [Enter] to continue:

Test the app by access following

https://game.example.com



Post a Comment

0 Comments