Sign in
GUIDE 09 / Domains & email

What does HTTPS protect?A safer journey for every request.

Understand TLS, certificates, hostname validation and renewal, with a visual connection and certificate explorer.

THE SHORT VERSION

HTTPS carries HTTP over a TLS-protected connection.

The certificate must be valid for the hostname being used.

Encrypted transport does not fix application vulnerabilities.

01 / HTTPS & TLS

Protect the connection between two endpoints.

HTTP is the application protocol used for web requests and responses. HTTPS uses TLS to protect that communication in transit. TLS provides confidentiality and integrity and, in a typical website connection, helps the browser authenticate the server.

Consider a customer signing in to a portal on a shared network. The connection should prevent a network observer from reading or silently altering the traffic. That is a different job from deciding whether the customer is allowed to open a particular invoice; the application must still enforce that permission.

Reference: MDN: Transport Layer Security
02 / HTTPS & TLS

The address and certificate have to agree.

The browser connects to a hostname and checks the server’s certificate against that name and its trust rules. A certificate for a different hostname does not become suitable simply because both names reach the same server. Validity dates and the trust chain also matter.

Use the explorer to compare three simplified outcomes. The point is not to memorize an error message, but to recognize the relationship: the name the user visits must be covered by a valid certificate presented by the destination. A DNS answer alone cannot satisfy that check.

Reference: MDN: Transport Layer Security
INTERACTIVE EXPLAINERChange the certificate. Check the connection.
Change the certificate. Check the connection.
https://app.example.com
CERTIFICATE PRESENTEDapp.example.com
Hostname match
Matches
Validity period
Within validity
Trust chain
Assumed valid
Certificate checks pass in this model

A valid name, date and trusted chain support the identity check. TLS negotiation and application behavior are additional parts of the connection.

https://app.example.com
CERTIFICATE PRESENTEDother.example.com
Hostname match
Does not match
Validity period
Within validity
Trust chain
Assumed valid
Certificate validation fails

The certificate does not cover the address being visited. Correct the certificate or intended route; bypassing the warning does not fix the mismatch.

https://app.example.com
CERTIFICATE PRESENTEDapp.example.com
Hostname match
Matches
Validity period
Expired
Trust chain
Assumed valid
Certificate validation fails

A previously suitable certificate can expire. Restore valid certificate service at the actual TLS endpoint and verify renewal operation.

Conceptual example · explore each state
03 / HTTPS & TLS

Certificates have an operating lifecycle.

A certificate authority such as Let’s Encrypt can issue certificates after the required validation. Its automation uses ACME to coordinate the process. Validation demonstrates control of the relevant domain; it does not review the business or guarantee the quality of the website.

Issuance is only the beginning. The renewed certificate must reach the endpoint that terminates TLS, and that endpoint must start serving it. Monitor the actual public connection, including every important hostname. Treat renewal as an ongoing service dependency rather than a task completed on launch day.

Reference: Let’s Encrypt: how certificate automation works
Certificates have an operating lifecycle.
LayerIts jobWhat to verify
DNSFind a destinationThe hostname reaches the intended endpoint
CertificateSupport server identity checksName, validity and trusted chain
TLSProtect the connectionExpected encrypted endpoint
ApplicationHandle requests and permissionsAuthentication and authorization
04 / HTTPS & TLS

Know where encryption ends.

A reverse proxy or load balancer may terminate the browser’s TLS connection, then forward the request to an application. That second connection is a separate leg with its own transport and trust choices. A secure public URL does not describe every internal connection behind it.

Draw the portal’s real path: browser, public gateway, application and database. Decide how each leg is protected and which systems can reach it. This is especially useful when a service moves to another server or when a cluster introduces additional network boundaries.

05 / HTTPS & TLS

HTTPS is essential, and the rest still matters.

An encrypted connection can carry a malicious request just as it can carry a legitimate one. The application still needs correct access checks, safe input handling and maintained dependencies. Users also need to confirm they are visiting the intended domain, not merely an HTTPS page.

For a new service, verify the route, certificate and application together from the address customers will use. Include redirects and subdomains in that review. A clear ownership record for each hostname makes it easier to diagnose certificate issues without confusing them with DNS or application failures.

CLEAR UP THE DETAILS

Common questions.

Does buying a domain automatically give it HTTPS?

No. The serving endpoint also needs suitable TLS configuration and a certificate covering the hostname.

Can several subdomains share a certificate?

Yes, if its names or an appropriate wildcard cover them. Coverage and validation must match the actual hostnames.

Does HTTPS mean the website cannot be attacked?

No. It protects transport. Application security, permissions and infrastructure maintenance remain necessary.

WHERE DOCKOCK FITS

Connect the concept to your work.

DOCKOCK connects domains, HTTPS configuration and application routes, helping you follow a public address to the service that should answer it.

Explore https & tls in DOCKOCK

Keep learning from the source.

Further reading from the teams and documentation behind these technologies.

MDN: Transport Layer SecurityLet’s Encrypt: how certificate automation works
CONTINUE EXPLORING

Where does a request go?

Follow traffic from a public address to the right application instance.

Read the next guide