Quiz
Ten questions to run at the end of the session or send afterwards. Answers are at the bottom.
- You receive a file called
webapp.pfx. Is it safe to attach to a ticket? Why or why not? - Which key does a CA use to sign a certificate: its public key or its private key?
- A certificate’s CN is
app.rrc.qld.gov.au, but its SAN list only containswww.rrc.qld.gov.au. Will a browser accept it forapp.rrc.qld.gov.au? - Name the four things every client checks about a server certificate.
- A site works fine in Chrome, but a PHP app calling the same URL gets
unable to get local issuer certificate. What’s the most likely cause? - Can a public CA such as DigiCert issue a certificate for
sql01.rrc.local? - After a driver upgrade, an app can’t connect to SQL Server: “The certificate chain was issued by an authority that is not trusted.” A colleague suggests adding
TrustServerCertificate=True. What’s wrong with that, and what’s the proper fix? - During a TLS session, is the bulk of the data encrypted with public-key crypto or symmetric crypto?
- Which TLS versions should be enabled on a new server?
- From March 2027, what’s the maximum validity of a public TLS certificate, and why does that matter to us?
Answers
Section titled “Answers”- No. A .pfx contains the private key. Treat it like a password: never attach it to a ticket, email it or put it on a share.
- Its private key. Anyone can then check the signature with the CA’s public key.
- No. Browsers ignore the CN and only check the SAN list.
- Name (in the SAN), dates (not expired), chain (leads to a trusted root), revocation (not cancelled).
- The server isn’t sending the intermediate certificate (Chrome fetches it quietly, PHP doesn’t), or PHP’s CA bundle doesn’t trust the issuing CA.
- No. Public CAs only issue for public domains we can prove we own.
.localnames need the internal CA. - It keeps encryption but turns off authentication, so anyone in the middle could impersonate the SQL server. The fix is to install a certificate on SQL Server from a CA the client trusts (our internal CA) with the right name in its SAN.
- Symmetric. Public-key crypto is only used during the handshake to prove identity and agree a session key.
- TLS 1.2 and TLS 1.3. SSL 3.0, TLS 1.0 and TLS 1.1 should be off.
- 100 days (dropping to 47 days in March 2029). Manual renewal stops being practical, so we need automation and an accurate certificate inventory.