TLS certificate

A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.

In more detail

During the TLS handshake the server sends its certificate, and the client checks that a trusted certificate authority signed it and that it matches the host name. If the check fails the connection is refused or, in a browser, a warning is shown.

Examples

COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
Go in a scratch image: COPY the CA bundle from the build stage
It records a subject, the names it is valid for, an issuer, validity dates and the issuer's signature. Clients check the chain up to a trusted root, the dates and that the requested hostname is listed. A wrong name and an expired certificate need different fixes, so read the details before replacing anything.
host=example subj=example iss=inter chain=ok names the requested host, subject, issuer and chain result.

Related terms

Taught in

References

Certification courses