<!-- https://pkizerotohero.com/pki-interview-questions/ | Markdown mirror of the HTML page | PKI Zero to Hero, by Duyutech BV -->

> PKI interview questions and answers: 39 questions from fundamentals to chains, TLS, operations, AD CS and post-quantum, with model answers to learn from.

Source: https://pkizerotohero.com/pki-interview-questions/ · Last reviewed: 2026-10-20

PKI explained

# PKI interview questions and answers

**The short answer:**

These PKI interview questions cover what employers ask for security, PKI, platform and IT operations roles: fundamentals, certificates and chains, TLS, operations, enterprise PKI and AD CS, and post-quantum cryptography. Each question has a short, accurate model answer and a link to the handbook chapter that explains it in depth.

Who it is for

- [Developer](https://pkizerotohero.com/start/#developer)
- [IT ops](https://pkizerotohero.com/start/#itops)
- [Expert](https://pkizerotohero.com/start/#expert)
- [Beginner](https://pkizerotohero.com/start/#beginner)

Level

Practitioner

Reading time

About 18 minutes

Use these 39 questions to prepare for an interview for a security, PKI, platform, DevOps or IT operations role, or to test yourself. They run from the [PKI](https://pkizerotohero.com/what-is-pki/) basics that every candidate should know to the enterprise and post-quantum questions asked of PKI engineers and architects. Each answer is a short model answer, two to four sentences, followed by a link to the chapter that explains it properly. Learn the reasoning, not the wording: interviewers ask follow-up questions.

## What do interviewers look for in PKI answers?

Most interviewers listen for precise language, because PKI is full of half-truths that sound right. These six separate a strong answer from a weak one:

- **A signature is not “encryption with the private key”.** It is a separate operation that proves who signed and that nothing changed.
- **Certificates do not encrypt anything.** They bind a public key to a name. In TLS 1.3 the session keys come from an ephemeral ECDHE exchange.
- **A root is trusted because it is in the trust store**, not because it is self-signed.
- **Modern clients match hostnames against the Subject Alternative Name**, not the Common Name.
- **A wildcard covers exactly one label**, and never the bare domain.
- **Browser revocation checking is largely soft-fail**, which is one reason lifetimes are shrinking.

Strong candidates also reason from what a client actually checks, know a few real commands such as `openssl s_client` and `openssl x509 -text`, and can tell a short story about a certificate problem they solved.

## PKI fundamentals interview questions

### 1\. What is PKI?

Public key infrastructure is the set of roles, policies, software and hardware that binds public keys to identities through certificates signed by certificate authorities. It lets a client that has never met a server check that the server’s public key really belongs to the name it claims, by following a chain of signatures to a root the client already trusts.

**Go deeper:** [What is PKI?](https://pkizerotohero.com/what-is-pki/) and [how does PKI work?](https://pkizerotohero.com/how-does-pki-work/)

### 2\. What is the difference between symmetric and asymmetric cryptography?

Symmetric cryptography, such as AES, uses one shared secret key; it is fast, but both sides must already share that key safely. Asymmetric cryptography uses a key pair: a public key anyone may hold and a private key only the owner has. In practice they work together: asymmetric methods authenticate and agree keys, and a symmetric cipher protects the bulk of the data.

**Go deeper:** [symmetric encryption](https://pkizerotohero.com/handbook/symmetric-encryption/) and [key pairs](https://pkizerotohero.com/handbook/key-pairs/)

### 3\. What problem does PKI solve that public-key cryptography alone does not?

A signature tells you that whoever holds a certain private key signed the data, but not who that is. An attacker who swaps in their own public key can impersonate anyone. PKI solves this binding problem: a CA that the verifier already trusts signs a certificate stating which name goes with which public key.

**Go deeper:** [binding identity to keys](https://pkizerotohero.com/handbook/binding-identity/)

### 4\. What is a digital signature, and how is it different from encryption?

The signer computes a hash of the message and applies a signature algorithm, such as ECDSA or RSA-PSS, with their private key. Anyone with the public key can verify that the signature matches the message, which proves who signed and that the data did not change. A signature keeps nothing secret, and it is not encryption with the private key, even though textbook RSA makes the two look alike.

**Go deeper:** [digital signatures](https://pkizerotohero.com/handbook/digital-signatures/) and [hashes](https://pkizerotohero.com/handbook/hashes/)

### 5\. What are the main components of a PKI?

A certificate authority signs certificates, and a registration authority checks requesters before the CA signs. Repositories publish certificates and revocation information, revocation services provide CRLs and sometimes OCSP, and relying parties hold trust stores of roots. Around them sit the policies (CP and CPS), key protection such as HSMs, and the people and processes that run it all.

**Go deeper:** [PKI components](https://pkizerotohero.com/pki-components/) and [what is a certificate authority?](https://pkizerotohero.com/what-is-a-certificate-authority/)

### 6\. What is a trust store, and why is a root certificate trusted?

A trust store is the set of root certificates, or trust anchors, that a client accepts without further proof: the operating system’s store, a browser’s root store, Java’s `cacerts` or Python’s `certifi` bundle. A root is trusted only because it is in that store, placed there by a root program or an administrator. Being self-signed earns nothing; the self-signature only shows that the file is intact.

**Go deeper:** [trust stores](https://pkizerotohero.com/handbook/trust-stores/)

## Certificate and chain interview questions

### 7\. What is inside an X.509 certificate?

The subject’s public key and names (the Subject and the Subject Alternative Name), the issuer’s name, a serial number and a validity period (`notBefore` and `notAfter`). Version 3 certificates add extensions such as Key Usage, Extended Key Usage, Basic Constraints, and pointers to the issuer’s certificate and revocation information. The issuer’s signature covers all of it, as defined in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280).

**Go deeper:** [anatomy of an X.509 certificate](https://pkizerotohero.com/handbook/x509-certificates/), or paste one into the [certificate decoder](https://pkizerotohero.com/tools/decoder/)

### 8\. What is a CSR, and what does it prove?

A certificate signing request (PKCS #10) carries the public key and the requested names, and is signed with the matching private key. That signature proves possession of the private key, which never leaves the requester. It does not prove that the requester controls the names: the CA validates those separately.

**Go deeper:** [the CSR](https://pkizerotohero.com/handbook/csr/)

### 9\. What is the difference between root, intermediate and leaf certificates?

A root is a self-signed CA certificate that lives in trust stores. Intermediates are CA certificates signed by the root or by another intermediate; they do the daily issuing so that the root key can stay offline. A leaf, or end-entity, certificate belongs to a server, user or device; it is not a CA (no `CA:TRUE` in its Basic Constraints), so clients reject any certificate it tries to sign.

**Go deeper:** [certificate chains](https://pkizerotohero.com/handbook/certificate-chains/)

### 10\. How does a client validate a certificate chain?

It builds a path from the leaf to a trust anchor, matching each certificate’s issuer to the next certificate’s subject and key identifiers. Along the path it checks every signature and validity period, Basic Constraints and path length, Key Usage and Extended Key Usage, any name constraints and, where configured, revocation status ([RFC 5280 section 6](https://www.rfc-editor.org/rfc/rfc5280#section-6)). Separately, it checks that the name it connected to appears in the leaf’s Subject Alternative Name.

**Go deeper:** [certificate chains and path validation](https://pkizerotohero.com/handbook/certificate-chains/)

### 11\. What happens if a server does not send its intermediate certificate?

Browsers often still connect, because they cache intermediates or fetch them from the address in the certificate, so the bug hides. OpenSSL, Python, Java, Node.js and curl on Linux usually fail with an error such as “unable to get local issuer certificate”. The fix is on the server: send the leaf followed by its intermediates, the full chain.

**Go deeper:** [the error page](https://pkizerotohero.com/errors/curl-unable-to-get-local-issuer-certificate/) and [how to build the full chain](https://pkizerotohero.com/guides/build-fullchain/)

### 12\. What is a Subject Alternative Name, and why is the Common Name not enough?

The Subject Alternative Name (SAN) extension lists every DNS name and IP address the certificate is valid for. Browsers match the hostname only against the SAN and ignore the Common Name; Google’s browser has done so since Chrome 58 (April 2017), and Apple’s platforms since iOS 13 and macOS 10.15. Some libraries still fall back to the CN, but only when the certificate lists no DNS name at all. A certificate whose name appears only in the CN fails in browsers, for example with [`NET::ERR_CERT_COMMON_NAME_INVALID`](https://pkizerotohero.com/errors/chrome-err-cert-common-name-invalid/).

**Go deeper:** [names and key usage](https://pkizerotohero.com/handbook/names-and-key-usage/)

### 13\. What does a wildcard certificate cover?

A wildcard such as `*.example.com` matches exactly one label in that position: `www.example.com` and `api.example.com`, but not `example.com` itself and not `a.b.example.com`. If you need the bare domain, add it as a separate SAN. Wildcards also spread one private key across many servers, so use them with care.

**Go deeper:** [names and key usage](https://pkizerotohero.com/handbook/names-and-key-usage/), or try names in the [hostname matcher](https://pkizerotohero.com/tools/hostname/)

### 14\. What do Key Usage, Extended Key Usage and Basic Constraints do?

Key Usage limits what the key may do cryptographically, such as `digitalSignature`, `keyCertSign` or `cRLSign`. Extended Key Usage limits the application purpose, such as `serverAuth`, `clientAuth` or `codeSigning`. Basic Constraints says whether the certificate belongs to a CA, and its path length limit says how many CA levels may follow below it.

**Go deeper:** [names and key usage](https://pkizerotohero.com/handbook/names-and-key-usage/)

### 15\. What is the difference between PEM, DER, PKCS #12 and JKS?

DER is the binary ASN.1 encoding of a certificate or key, and PEM is the same bytes in Base64 between `BEGIN` and `END` lines. PKCS #12 (`.pfx` or `.p12`) is a password-protected container that holds a private key together with its certificate chain. JKS is Java’s older keystore format: PKCS #12 became Java's default keystore type in JDK 9 (JEP 229).

**Go deeper:** [file formats](https://pkizerotohero.com/handbook/file-formats/) and [converting PFX to PEM](https://pkizerotohero.com/guides/convert-pfx-pem/)

### 16\. What do DV, OV and EV certificates check?

Domain Validation proves only that the requester controls each name, for example through an HTTP file, a DNS record or a TLS response. Organization Validation and Extended Validation also verify the organisation’s legal identity, EV under stricter guidelines. The connection is equally secure with all three, and Chrome and Firefox moved the EV company name out of the address bar (2019, in Chrome 77 and Firefox 70).

**Go deeper:** [proving you own the name](https://pkizerotohero.com/handbook/domain-validation/)

## TLS interview questions

### 17\. Walk me through the TLS 1.3 handshake.

The client sends a ClientHello with its supported cipher suites and a key share, an ephemeral public key for ECDHE, often X25519 or a hybrid post-quantum group. The server replies with a ServerHello and its own key share; both sides derive handshake keys, so everything after this point is encrypted. The server sends its certificate chain, a CertificateVerify signature over the handshake so far, and Finished. The client checks the chain, the name and the signature, sends its own Finished, and application data flows after one round trip.

**Go deeper:** [the TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/) and [PKI vs TLS](https://pkizerotohero.com/pki-vs-tls/)

### 18\. What does the server’s certificate key do in TLS 1.3?

It only authenticates. The server signs the handshake transcript with its private key in the CertificateVerify message, which proves it holds the key that the certificate names. The session keys come from the ephemeral ECDHE exchange, so the certificate key never encrypts traffic and never transports keys, unlike RSA key exchange in TLS 1.2 and earlier.

**Go deeper:** [the TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/)

### 19\. What is forward secrecy?

Forward secrecy means that stealing a server’s long-term private key later does not let an attacker decrypt traffic recorded earlier. TLS 1.3 gets it by creating fresh ephemeral key pairs for every handshake and discarding them afterwards. Session resumption with a pre-shared key and no new key exchange gives it up for that data, which is why most clients add a fresh key share.

**Go deeper:** [key exchange](https://pkizerotohero.com/handbook/key-exchange/) and [the TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/)

### 20\. What is SNI, and why does it matter for certificates?

Server Name Indication is a ClientHello extension in which the client names the site it wants, so a server that hosts many sites can choose the right certificate. Without it, the server sends a default certificate, and the client reports a name mismatch unless that certificate happens to cover the name; some servers refuse the handshake instead. SNI travels in plain text unless Encrypted Client Hello is used, standardised in RFC 9849.

**Go deeper:** [the TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/)

### 21\. What is mutual TLS, and when would you use it?

In mutual TLS the server also requests a certificate from the client, and the client proves it holds the matching private key with its own CertificateVerify signature, so both ends are authenticated. It is used between microservices and in service meshes, for partner and payment APIs, and for devices. Client certificates should come from a dedicated private CA, because trusting any publicly issued certificate would let in anyone who owns a domain.

**Go deeper:** [mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/) and [how to set it up](https://pkizerotohero.com/guides/mutual-tls-setup/)

## PKI operations interview questions

### 22\. What is the difference between CRL, OCSP and OCSP stapling?

A CRL is a signed list of revoked serial numbers that clients download. OCSP lets a client ask a responder about one certificate, which adds a round trip and tells the CA which site you visit; with stapling, the server fetches a signed OCSP response and includes it in the handshake. On 15 March 2024, OCSP became optional and CRLs became mandatory for publicly trusted TLS certificates, and browsers mostly rely on lists they push to users, such as CRLSets and CRLite. Browser revocation checking is largely soft-fail.

**Go deeper:** [revocation: CRLs, OCSP and stapling](https://pkizerotohero.com/handbook/revocation/)

### 23\. What is Certificate Transparency?

Certificate Transparency (CT) is a set of public, append-only logs in which CAs record publicly trusted TLS certificates. The log returns a signed certificate timestamp (SCT), a promise to add the entry, and Chrome, Safari and Firefox on desktop require SCTs before they accept a publicly trusted certificate. Domain owners monitor the logs for certificates they never requested: CT makes mis-issuance visible, but it does not prevent it.

**Go deeper:** [Certificate Transparency](https://pkizerotohero.com/handbook/certificate-transparency/) and [how to monitor it](https://pkizerotohero.com/guides/monitor-certificate-transparency/)

### 24\. What is ACME, and how does the CA validate a domain?

ACME ([RFC 8555](https://www.rfc-editor.org/rfc/rfc8555)) is the protocol that lets software request, validate, renew and revoke certificates without a person in the loop. The CA checks control of each name with a challenge: HTTP-01 (a file under `/.well-known/acme-challenge/`), DNS-01 (a TXT record, required for wildcards) or TLS-ALPN-01 (a special certificate on port 443). ACME Renewal Information (ARI) lets the CA tell each client when to renew.

**Go deeper:** [ACME and the 47-day schedule](https://pkizerotohero.com/handbook/acme/)

### 25\. Why are certificate lifetimes getting shorter, and how would you prepare?

CA/Browser Forum ballot SC-081 cuts the maximum lifetime of publicly trusted TLS certificates to 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029. The reasons are unreliable revocation, fresher validation of names, and agility when a CA or an algorithm must change. Preparing means an inventory with owners, ACME automation that includes deployment and reload, ARI, and monitoring of what endpoints actually serve.

**Go deeper:** [how to prepare for short-lived certificates](https://pkizerotohero.com/guides/prepare-47-day-certificates/)

### 26\. How would you prevent certificate-expiry outages?

Keep an inventory of every certificate with an owning team, automate renewal and deployment, and monitor what each endpoint actually serves rather than the files on disk. Alert well before expiry, including for intermediates and private roots, and check that services were reloaded after renewal. Look beyond web servers: load balancers, Kubernetes secrets, Java keystores and appliances cause most surprises.

**Go deeper:** [inventory, expiry and renewal](https://pkizerotohero.com/handbook/certificate-lifecycle/) and [how to check certificate expiry](https://pkizerotohero.com/guides/check-certificate-expiry/)

### 27\. What would you do if a private key were compromised?

Generate a new key pair, get a new certificate for it and deploy it everywhere the old key was used, then ask the CA to revoke the old certificate with the reason `keyCompromise`. Public CAs must revoke within 24 hours once they have evidence of a key compromise. Then search CT logs for other certificates on the same names, and find and fix how the key leaked. Remember that revocation reaches clients unevenly, so short lifetimes limit the exposure.

**Go deeper:** [revocation](https://pkizerotohero.com/handbook/revocation/)

### 28\. How would you troubleshoot “unable to get local issuer certificate”?

It means the client could not build a chain to a root it trusts. Check what the server really sends with `openssl s_client -showcerts`: if the intermediate is missing, fix the server so it sends the full chain. If the chain ends at a private or TLS-inspection root, add that root to the trust store the failing client actually uses, and never switch verification off.

**Go deeper:** [the error page](https://pkizerotohero.com/errors/curl-unable-to-get-local-issuer-certificate/), [how to check a server’s chain](https://pkizerotohero.com/guides/check-remote-certificate-chain/) and the [chain checker](https://pkizerotohero.com/tools/chain/)

## Enterprise PKI and AD CS interview questions

### 29\. What is a two-tier PKI, and why is the root kept offline?

A two-tier PKI has an offline root CA that signs only issuing CA certificates and its own CRL, and online issuing CAs that sign end-entity certificates. If an issuing CA is compromised, the root revokes it and signs a replacement, while the root and the trust installed on every device survive. The catch is that someone must bring the root out to sign a fresh CRL before the old one’s `nextUpdate` date.

**Go deeper:** [PKI architecture](https://pkizerotohero.com/pki-architecture/) and [a CA of your own](https://pkizerotohero.com/handbook/private-ca/)

### 30\. What are a CP and a CPS?

A certificate policy (CP) states what must be true for a class of certificates: who may get them, how identities are checked, and the rules for keys, lifetimes, revocation and audit. A certification practice statement (CPS) describes how one specific CA meets that policy in practice. Both follow the framework of RFC 3647, which public CAs and the CA/Browser Forum also use.

**Go deeper:** [a CA of your own](https://pkizerotohero.com/handbook/private-ca/)

### 31\. What is an HSM, and what is a key ceremony?

A hardware security module generates and uses keys inside tamper-resistant hardware and never releases the private key in plain form; modules are validated against FIPS 140-3 or Common Criteria. A key ceremony is the scripted, witnessed and recorded procedure in which a root or other CA key is created or used, under multi-person control such as three of five custodians. An HSM stops a key from being copied, but not from being misused by a compromised system that is allowed to call it.

**Go deeper:** [guarding the keys: HSMs and key ceremonies](https://pkizerotohero.com/handbook/hsm-and-key-ceremonies/)

### 32\. What is the difference between an enterprise CA and a standalone CA in AD CS?

An enterprise CA is integrated with Active Directory: it issues from certificate templates, uses directory accounts and groups to approve requests, and supports automatic enrolment and smart-card sign-in. A standalone CA does not need Active Directory and does not use templates; each request carries all its details and, by default, waits for an administrator. A common design is a standalone root kept offline with enterprise issuing CAs below it ([Microsoft documentation](https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/certification-authority-role)).

**Go deeper:** [a CA of your own](https://pkizerotohero.com/handbook/private-ca/)

### 33\. What are certificate templates, and what is the main security risk?

Templates define what each kind of certificate contains and who may enrol for it: key type, lifetime, extended key usages and, above all, where the subject name comes from. The classic risk is a template that lets ordinary users supply their own subject name for a certificate that can be used to sign in, which can let them impersonate others, including administrators. Defend by taking names from Active Directory, restricting enrolment, requiring CA manager approval where names come from the request, and reviewing templates and CA settings regularly ([Microsoft guidance](https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/manage-certificate-templates)).

**Go deeper:** [a CA of your own](https://pkizerotohero.com/handbook/private-ca/)

### 34\. What is strong certificate mapping in Windows?

It is how a domain controller ties a certificate used for sign-in to exactly one account, using identifiers that cannot be reused, such as the account’s security identifier (SID) in a certificate extension. Since February 2025, domain controllers deny certificate sign-in when a certificate cannot be strongly mapped to an account. Certificates from older templates or third-party CAs may need the new mapping before they work for sign-in.

**Go deeper:** [a CA of your own](https://pkizerotohero.com/handbook/private-ca/)

## Advanced and post-quantum interview questions

### 35\. Why is quantum computing a threat to PKI?

A large quantum computer running Shor’s algorithm would break RSA and elliptic-curve cryptography, which today’s key exchange and signatures rely on. Symmetric ciphers and hash functions are far less affected: Grover’s algorithm at most halves their effective strength. The urgent risk is “harvest now, decrypt later”: encrypted traffic recorded today could be decrypted once such a machine exists.

**Go deeper:** [post-quantum cryptography](https://pkizerotohero.com/handbook/post-quantum/)

### 36\. What are ML-KEM and ML-DSA, and where are they used today?

They are NIST’s post-quantum algorithms, published on 13 August 2024 as FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA). ML-KEM is for key establishment and ML-DSA for signatures; SLH-DSA is a hash-based signature alternative. ML-KEM is already in everyday use through hybrid key exchange, which combines it with X25519 so the connection stays safe if either part holds: X25519MLKEM768 hybrid post-quantum key exchange is on by default in Chrome, Firefox and Apple's operating systems. Certificates are slower to change: Publicly trusted TLS certificates still use classical signatures such as RSA and ECDSA; post-quantum signatures are not yet allowed in them.

**Go deeper:** [post-quantum cryptography](https://pkizerotohero.com/handbook/post-quantum/) and [how to test post-quantum TLS](https://pkizerotohero.com/guides/post-quantum-tls-test/)

### 37\. What is crypto-agility?

Crypto-agility is the ability to change algorithms, key sizes or CAs without redesigning your systems. It comes from an inventory of where cryptography is used, algorithms set in configuration rather than code, protocols that negotiate, and fully automated certificate renewal. It matters for the post-quantum migration and for replacing a distrusted CA quickly.

**Go deeper:** [post-quantum cryptography](https://pkizerotohero.com/handbook/post-quantum/) and [PKI best practices](https://pkizerotohero.com/pki-best-practices/)

### 38\. What is cross-signing, and why does it matter?

Cross-signing gives one CA key two certificates from different issuers, so a chain can end at either an older, widely trusted root or a newer one. It lets a new root work on old devices while it spreads through trust stores. It can also surprise you: when an old root expires, clients that cannot choose the other path fail, as happened when DST Root CA X3 expired on 30 September 2021.

**Go deeper:** [cross-signing and root expiry](https://pkizerotohero.com/handbook/cross-signing/)

### 39\. What is certificate pinning, and why is it discouraged?

Pinning builds the expected public key, usually as a hash of its SubjectPublicKeyInfo, into a client, so it rejects any other key even when the chain is valid. It narrows trust, but it breaks whenever the server’s key, intermediate or root changes, and short lifetimes and root rotations make those changes frequent. Browsers dropped HTTP Public Key Pinning; where an app must still pin, it should pin to the key, include a backup key, and have a way to update the pins.

**Go deeper:** [cross-signing, root expiry and pinning](https://pkizerotohero.com/handbook/cross-signing/)

## Where to go next

- **Fill the gaps:** the [PKI handbook](https://pkizerotohero.com/handbook/) explains every answer above in depth, starting from [What is PKI?](https://pkizerotohero.com/what-is-pki/).
- **Prepare quickly:** the [crash course](https://pkizerotohero.com/course/) covers the whole field in ten lessons, and the [cheat sheet](https://pkizerotohero.com/handbook/cheat-sheet/) puts the commands on one page.
- **Practise on real certificates:** [inspect a certificate with OpenSSL](https://pkizerotohero.com/guides/inspect-certificate-openssl/), [check a server’s chain](https://pkizerotohero.com/guides/check-remote-certificate-chain/), and use the [certificate decoder](https://pkizerotohero.com/tools/decoder/).
- **For design questions:** [PKI architecture](https://pkizerotohero.com/pki-architecture/), [public vs private PKI](https://pkizerotohero.com/public-vs-private-pki/) and [PKI best practices](https://pkizerotohero.com/pki-best-practices/).
- **Look up a term:** the [glossary](https://pkizerotohero.com/handbook/glossary/).

## Frequently asked questions

### How would you explain PKI in a job interview?

Say what problem it solves, then how. Public-key cryptography proves that someone holds a private key, but not who they are. PKI binds public keys to names: a certificate authority checks the requester and signs a certificate, and clients accept it only if its chain of signatures leads to a root already in their trust store. Then give an example, such as HTTPS.

### Which commands should I know for a PKI interview?

Know how to inspect a live server and a certificate file. openssl s\_client -connect example.com:443 -servername example.com -showcerts shows the chain a server sends, openssl x509 -in cert.pem -noout -text decodes a certificate, openssl verify -CAfile root.pem -untrusted intermediate.pem leaf.pem checks a chain, and openssl req -new creates a CSR. On Windows, certutil -dump and certutil -verify do similar jobs.

### What should I ask the interviewer about their PKI?

Ask how they keep track of their certificates, how renewal and deployment are automated, who runs the private CA and where its root key is kept, how they would replace a CA after a distrust, and how they are preparing for shorter public lifetimes and post-quantum cryptography. The answers show how mature their PKI is, and what your daily work would be.

### How should I prepare for a PKI interview?

Learn to explain the basics precisely in your own words: keys, signatures, certificates, chains and trust stores. Practise on real certificates with openssl s\_client and openssl x509, and decode a few chains. Then prepare one or two stories about certificates you renewed, automated or debugged, and know what is changing: shorter certificate lifetimes, server-only public TLS certificates and post-quantum cryptography.

**Early edition.** Written with AI assistance and checked against primary sources; an independent expert review is planned. Found a mistake? [Tell us](https://pkizerotohero.com/contact/?topic=content-error&page=/pki-interview-questions/).

Last reviewed 20 October 2026Edition 0.9

## Keep going

### In depth: handbook chapters

- [Chapter 3: Key pairs: public and private keys](https://pkizerotohero.com/handbook/key-pairs/)
- [Chapter 6: Digital signatures](https://pkizerotohero.com/handbook/digital-signatures/)
- [Chapter 7: Whose key is it? Binding identity to keys](https://pkizerotohero.com/handbook/binding-identity/)
- [Chapter 12: Who do we trust? CAs, trust stores and self-signed certificates](https://pkizerotohero.com/handbook/trust-stores/)
- [Chapter 8: X.509 certificate explained: anatomy of a certificate](https://pkizerotohero.com/handbook/x509-certificates/)
- [Chapter 10: Asking for a certificate: key generation and the CSR](https://pkizerotohero.com/handbook/csr/)
- [Chapter 13: Certificate chains and path validation](https://pkizerotohero.com/handbook/certificate-chains/)
- [Chapter 9: Names and jobs: SANs, wildcards, key usage and the CA flag](https://pkizerotohero.com/handbook/names-and-key-usage/)
- [Chapter 11: Proving you own the name: DV, OV, EV and CAA](https://pkizerotohero.com/handbook/domain-validation/)
- [Chapter 15: The TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/)
- [Chapter 23: Both sides show ID: mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/)
- [Chapter 16: Taking it back: CRLs, OCSP and stapling](https://pkizerotohero.com/handbook/revocation/)
- [Chapter 17: Certificate Transparency](https://pkizerotohero.com/handbook/certificate-transparency/)
- [Chapter 20: ACME and the 47-day schedule](https://pkizerotohero.com/handbook/acme/)
- [Chapter 19: Inventory, expiry and renewal](https://pkizerotohero.com/handbook/certificate-lifecycle/)
- [Chapter 22: A CA of your own: private two-tier PKI](https://pkizerotohero.com/handbook/private-ca/)
- [Chapter 21: Guarding the keys: HSMs and key ceremonies](https://pkizerotohero.com/handbook/hsm-and-key-ceremonies/)
- [Chapter 14: Two roads to the same root: cross-signing and root expiry](https://pkizerotohero.com/handbook/cross-signing/)
- [Chapter 26: Post-quantum cryptography](https://pkizerotohero.com/handbook/post-quantum/)

### Do it: how-to guides

- [How to inspect a certificate with OpenSSL](https://pkizerotohero.com/guides/inspect-certificate-openssl/)
- [How to check the certificate chain a server sends](https://pkizerotohero.com/guides/check-remote-certificate-chain/)
- [How to prepare for short-lived certificates: a checklist](https://pkizerotohero.com/guides/prepare-47-day-certificates/)

### Fix it: error pages

- [SSL certificate problem: unable to get local issuer certificate](https://pkizerotohero.com/errors/curl-unable-to-get-local-issuer-certificate/)
- [NET::ERR\_CERT\_COMMON\_NAME\_INVALID](https://pkizerotohero.com/errors/chrome-err-cert-common-name-invalid/)

### Check yours: tools

- [Certificate decoder](https://pkizerotohero.com/tools/decoder/): Paste a PEM certificate and read every field in plain words.
- [Chain checker](https://pkizerotohero.com/tools/chain/): Paste a chain and see which link is missing, expired or out of order.
- [Hostname matcher](https://pkizerotohero.com/tools/hostname/): Test whether a name matches a certificate's SANs and wildcards.

### More PKI explained

- [What is PKI? Public key infrastructure explained](https://pkizerotohero.com/what-is-pki/)
- [How does PKI work? Step by step](https://pkizerotohero.com/how-does-pki-work/)
- [PKI components: CA, RA, repositories, revocation and more](https://pkizerotohero.com/pki-components/)
- [What is a digital certificate?](https://pkizerotohero.com/what-is-a-digital-certificate/)
- [What is a certificate authority (CA)?](https://pkizerotohero.com/what-is-a-certificate-authority/)
- [PKI vs TLS (and SSL): how they fit together](https://pkizerotohero.com/pki-vs-tls/)
- [Public vs private PKI: which do you need?](https://pkizerotohero.com/public-vs-private-pki/)
- [PKI architecture: one-, two- and three-tier hierarchies](https://pkizerotohero.com/pki-architecture/)
- [PKI best practices: a checklist](https://pkizerotohero.com/pki-best-practices/)
- [PKI use cases and examples](https://pkizerotohero.com/pki-use-cases/)
- [Security+ PKI: certificates, CAs and keys](https://pkizerotohero.com/security-plus-pki/)
