Skip to content
IT glossary
SecurityUpdated December 3, 2026

Digital certificate

Сертификат

A signed electronic document that binds a public key to an identity, such as a website’s domain name. A browser uses it to verify that it is connecting to the domain it requested.

Also known as: PKI, Let's Encrypt

What a certificate tells you

Anyone can send you a public key and claim it belongs to a website. A digital certificate gives you a way to check that claim: an issuer signs a document that binds the key to an identity. For a typical HTTPS site, that identity is a DNS name. The certificate can be shared publicly; the matching private key stays with the system that uses it.

What happens during an HTTPS connection

The server typically sends its X.509 certificate and any intermediate certificates needed to build a chain of trust. The browser compares the hostname in the URL with the names in the certificate’s Subject Alternative Name (SAN) extension. It also checks validity dates and whether the certificate is permitted for server authentication, and validates the signatures and constraints along a chain to a trust anchor already configured in the browser or operating system. Sending a root certificate does not make it trusted.

The browser still needs evidence that the server holds the matching private key. In a full TLS 1.3 handshake, the server signs handshake data with that key, and the browser verifies the signature using the certified public key. The certificate authenticates the server; it does not itself encrypt your requests. TLS derives separate symmetric keys to protect application traffic.

Example: why a valid certificate can still fail

Suppose a service moves from example.com to api.example.com, but the server keeps presenting a certificate whose SAN lists only example.com. The issuer may be trusted and the certificate may be within its validity period, but authentication still fails: the new hostname is not covered. Check the certificate presented at the point where TLS terminates, which might be a load balancer rather than the application server.

If you have a copy of that certificate in PEM format, you can inspect its names and validity dates locally:

openssl x509 -in server.pem -noout -ext subjectAltName -dates

This reads the file. It does not validate the chain or confirm what the live server is presenting.

Where certificates fit

HTTPS is the most familiar use, but certificates also authenticate clients in mutual TLS (mTLS) and help software verify who signed a release. Public key infrastructure (PKI) is the broader system for issuing, trusting, renewing, and revoking certificates. Let’s Encrypt is a certificate authority (CA) that offers automated issuance of domain-validated TLS certificates. Domain validation establishes control of a name at issuance; it does not establish that the site is safe to use.

What interviewers ask

A common question is why HTTPS works in a browser but fails in a service client. The clients may use different trust stores or build the chain differently. For instance, a browser may already have an intermediate certificate that the server omitted, while a fresh client cannot build the chain. Explain how you would check the served chain and the failing client’s trust store rather than turning certificate verification off.