Is ip address doesnt support https?

so lets say i have web and used as api backend too for my mobile apps.

i've install certbot and its certificates, it works fine ONLY IF i access the website using https://webaddress, but when i write https://the.ip.addres.of.myweb it gets error which i write the ip adrress of my web in my mobile apps script to communicate with the backend.

i use vps nginx ubuntu

The DV Certificates that LetsEncrypt offers only cover registered domain names, they do not cover bare IP addresses.

You should not have applications communicate with IP addresses. They are subject to change. Domain names and updatable DNS entries exist for a reason.

If you need to cover an IP address with a certificate, there are several commercial companies that offer this.

5 Likes