Computer Networking Basics

In TLS, why can a browser conclude that the server it connects to is not an impostor?

  1. ABecause the certificate contains the shared key used for encryption, which only the genuine server knows
  2. BBecause the certificate is bound to the server's IP address, and IP addresses cannot be faked
  3. CBecause the certificate carries a signature made with a trusted certificate authority's private key and cannot be forged, and the server must also prove during the handshake that it holds the private key matching the certificate's public key
Show answer and explanation

Answer: C. Because the certificate carries a signature made with a trusted certificate authority's private key and cannot be forged, and the server must also prove during the handshake that it holds the private key matching the certificate's public key

A certificate is the statement "this is the public key for this domain name," signed by a certificate authority (CA) with its own private key. The browser verifies the signature with CA public keys built into the OS or browser, so an attacker cannot produce a valid signature and cannot forge a certificate. A genuine certificate, however, can be obtained by anyone and presented as is. So in the TLS handshake the server signs with the private key corresponding to the certificate's public key, proving that it holds that key. The shared keys actually used for encryption are created fresh by the handshake's key exchange (such as ECDHE) and are not in the certificate. Certificates are generally bound to domain names, not IP addresses.

  • A. Shared keys are created by key exchange for each connection; the certificate contains a public key.
  • B. Certificates are generally bound to domain names; authenticity is not judged by IP address.
  • C. Correct. The CA signature proves the certificate is valid, and the private-key signature proves the server holds it.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. Roughly how long does it take to send a 100 MB file over a 100 Mbps link? Ignore overhead such as headers and latency, and take 1 MB = 10^6 bytes.
  2. On 1 Gbps Ethernet, TCP data is sent continuously with IP packets filling the 1500-byte MTU. Taking the IPv4 header as 20 bytes, the TCP header as 20 bytes, the Ethernet header and FCS together as 18 bytes, and the preamble and inter-frame gap together as 20 bytes, which is closest to the upper limit on application-data throughput?
  3. Over a link with an RTT of 50 ms and a bandwidth of 100 Mbps, a request that returns a 10 KB response is repeated 100 times, each sent only after the previous response has been fully received. Which is closest to the total time? Take the time per request as the RTT plus the response transfer time (data size ÷ bandwidth), 1 KB = 1000 bytes, and ignore server processing time.
  4. What is the main reason wireless LAN uses CSMA/CA rather than CSMA/CD, which has been used in wired Ethernet?
  5. Which correctly describes a general difference between the 2.4 GHz and 5 GHz bands of wireless LAN?