menu
techminis

A naukri.com initiative

google-web-stories
source image

Dev

3d

read

107

img
dot

Image Credit: Dev

Why Does My SSL Site Return the Wrong Certificate When Accessed via IP?

  • When accessing an SSL site via IP instead of domain, it may return a different certificate, often the default one.
  • The issue occurs because the TLS handshake happens before the server receives the HTTP request, and IP addresses are not supported in Server Name Indication (SNI).
  • When no SNI is provided, SafeLine falls back to the default virtual host certificate or its built-in 404 fallback site certificate.
  • To avoid this problem, always access SSL sites via the domain name and understand the role of SNI in certificate negotiation to prevent SSL errors.

Read Full Article

like

6 Likes

For uninterrupted reading, download the app