SSL on Domain Name and IP adress

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: analisedeacoes.net.br

I ran this command:

It produced this output:

My web server is (include version): nginx/1.14.1

The operating system my web server runs on is (include version): Red Hat Enterprise Linux release 8.6 (Ootpa)

My hosting provider, if applicable, is: Oracle Cloud

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Oracle Cloud

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.29.0

Problem:

I have a SSL for my domain name, but when I try to access using the IP address the certificate doesn't appear. How to solve this problem?

Thanks.

Hi @rcesar22, and welcome to the LE community forum :slight_smile:

Sorry, but LE doesn't offer certificates with IP addresses on them [only FQDNs].

Here is the FAQ: How It Works - Let's Encrypt

But I have a domain name working, with perfect access. Only when I try to access using the IP adress it doesn't work.

That's to be expected when using a Let's Encrypt certificate as implied by @rg305.

Even when is the IP address associated with the domain name?

The IP address could be associated with more than one domain.

It's reallllllly simple: does the certificate contain the "item" (either hostname or IP address) you've entered in the address bar? No? Then you'll see an error.

Ok, thank you all for your time. :+1:

Why would you need the IP in the URL?
[the name equals that IP]

I think to achieve my goal I have to create a new domain, using the same IP address.

Because I have more than one site using the same server, ie, same IP.

You could use subdomains perhaps.

That is why SNI was developed.
One IP can host many names.

Ok, thanks everyone again. :+1: