Accessing a webservice/website via IP with https eg. https://x.x.x.x/ the browser shows that the connection is not secure.

Is the connection actually secure/encrypted or not (more secure than http)?


1 Answer 1


The problem is likely that the certificate is for a domain name, not the IP. So, when the browser checks to see if the certificate matches the domain, it doesn't.

The connection is encrypted, that's not the problem, but you no longer can be assured that it has been encrypted by the party you hope is doing the encryption (the site you were aiming to connect to). So, it can be possible that someone can sit in the middle of your connection and read or modify the traffic.

  • I see - for a non internet (local network server) - there is a benefit doing this. Thanks.
    – Michael D.
    Dec 16, 2019 at 17:30

Not the answer you're looking for? Browse other questions tagged .