Cannot install SSL for DNS name

Keywords: General - AWS - Technical issue - Secure Connections (SSL/HTTPS)

bnsupport ID: 23d16b91-d19a-a552-a334-3701641d084c

bndiagnostic output:

? Apache: Found possible issues

bndiagnostic failure reason: The suggested guides are not related with my issue


I use the AMI image bitnami-lampstack-8.0.10-2-r02-linux-debian-10-x86_64-hvm-ebs-nami-cb6afd05-a3b2-4916-a3e6-bccd414f5f21 to create a EC2 instance. After the creation, I see the DNS name of the server is, but I can only access it with HTTP, not HTTPS. So I want to install the free SSL for it.

I run the command:

sudo /opt/bitnami/bncert-tool

and input the domain name as, but get a warning:

Warning: The domain ‘’ resolves to a
different IP address than the one detected for this machine, which is
‘’. Please fix its DNS entries or remove it.

I double check and confirm is the IP address of the EC2 instance. Why I will get this warning?


Hello @ccw,

I have checked your site and it is now redirecting to your custom domain with SSL enabled, were you then able to solve the issue, or do you require further assistance on this?

Francisco de Paz

Hi, @fdepaz,

Yes, the custom domain is using free Let’s Encrypt certificate. What is the difference between paid certificate?

Also I remember many AWS services, such as Cloudfront, will offer a https version, like this, why EC2 does not provide a https version of DNS name directly, like

If the free Let’s Encrypt certificate will expire on custom domain, is it possible to make one for that will not expire?

Hello @ccw,

Unfortunately, there is no option to create a non-expirable free cert with Let’s Encrypt, that is why we suggest setting a cron to renew the certificate automatically. Apart from this “bother” of manually setting up and renewing the certificate, they are no different from a paid SSL certificate.

Regarding an SSL service by AWS, I recall there is indeed such kind of service but I’m not sure if they provide a certificate for the domain.

Francisco de Paz


Is the renewal of Le’ts Encrypt Certificate free? I check and it does not mention to pay for the renewal.

Hello @ccw,

Yes, it is. The renewal consist of setting up a cron so that it relaunches the Let’s Encrypt command that creates/renewal the SSL. You can check how to configure it in the following guide:

Francisco de Paz

Hi, @fdepaz,

Thank you very much!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.