Interview Prep/Networking/HTTP, TLS & Certificates

What is the difference between authentication at TLS and at the HTTP layer?

IntermediateConceptHTTP, TLS & Certificates
Answer

TLS authenticates machines: the server by cert, optionally the client by cert (mTLS). The HTTP layer authenticates users and applications: basic auth, bearer tokens (JWT/OAuth2), API keys, signed requests (SigV4).

In production they combine: mTLS for service identity, tokens for user identity and authorization.

All Networking questions Roadmap: Networking for DevOps

More on HTTP, TLS & Certificates