Skip to content
‹ 30-Day Drill

Day 8: Works From the Command Line, Fails in the Browser

Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.

Scenario

Interviewer A quick test of a web address with a command-line tool succeeds. Browsers opening the same address show "secure connection failed". The servers are healthy and nothing was released. What is happening?

In plain words

Two programs ask the same server for the same page. One gets it and the other is refused. So the server is up, and the difference must lie in how each program asks.

You are expected to name a few ways a browser and a simple test tool differ when they set up a secure connection, and to say how you would check each one.

Words you need

WordWhat it means
curlA small command-line program that fetches a web address. Engineers use it for quick tests.
HandshakeThe short exchange at the start of a secure connection where both sides agree how to encrypt.
Certificate authorityAn organisation that browsers trust to vouch for a website's certificate.
Intermediate certificateA link in the middle of the chain between a website's certificate and a trusted authority.
SNIServer Name Indication: the client says which website name it wants at the very start of the handshake.

Your answer

2:00

Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.

0 / 20,000 characters · Not saved
Sign in to save