Generate and Install - Let’s Encrypt SSL Certificates For Bitnami - Amazon Lightsail - Domain with www, and without. Domain + Subdomain. SOLUTION:
Follow the instructions:
IMPORTANT: At Step 2: Generate A Let’s Encrypt Certificate For Your Domain, to Request a new certificate for your domain and subdomain (for example: www.amigo.com, and amigo.com) you must write as below:
I have decided to write this because the most common thing when a person is going to enter a website is that one writes the domain with the www., or without the www. And the code taught in the Bitnami Guide does not teach that possibility. When you configure your website with a single domain, the browser accuses a certificate error, because one of the domains don’t have certificate.
For original comments/code read: https://community.bitnami.com/t/adding-subdomain-to-ssl-certificate/56354