How do you check which certificate a server presents and when it expires?
BeginnerScenarioTLS, HTTP & Application Layer
Answer
Situation read → Basic operational skill.
What I'd do →
- Run
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -subject -issuer -dates - Check SANs with
-ext subjectAltName - Or use
curl -vI https://example.comand read the TLS section - Alert on
ssl_expirywith Prometheus blackbox exporter
Why → The -servername flag matters because servers pick a certificate by SNI.
Interview tip → Mention that checking from outside the network also reveals CDN or LB certificates.
More on TLS, HTTP & Application Layer
Explain what happens in a TLS 1.3 handshake in a few sentences.BeginnerYour site must redirect all HTTP traffic to HTTPS. How do you do it?BeginnerWhat is the difference between 4xx and 5xx errors, and which ones do you see most in networking problems?BeginnerHTTP/1.1, HTTP/2 and HTTP/3: what changed and why does it matter in operations?BeginnerThe browser console shows a CORS error when your frontend calls your API. What is it and how do you fix it?BeginnerWhat is the difference between HTTP keep-alive and a new TCP connection per request?Beginner