Objective. Students will generate a certificate signing request (CSR), issue a certificate from a lab certificate authority (CA), install it on a test web server, and verify the trust chain.
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
A Public Key Infrastructure (PKI) is the framework of policies, hardware, software, and procedures that creates, manages, distributes, stores, and revokes digital certificates. At its core, PKI lets two parties who have never met verify each other's identities using cryptography. When you visit a website secured with HTTPS, PKI is working behind the scenes to guarantee that the server is who it claims to be and that your connection is encrypted.
The central component of PKI is the Certificate Authority (CA). A CA is a trusted entity that signs digital certificates, vouching for the identity of the certificate holder. Browsers and operating systems ship with a built-in list of trusted root CAs. Any certificate signed by one of those root CAs — directly or through an intermediate CA — is automatically trusted.
Issuing a certificate follows a defined sequence:
1. Generate a private key. The server owner creates an asymmetric key pair. The private key never leaves the server.
2. Create a Certificate Signing Request (CSR). A CSR is a file containing the server's public key plus identifying information: Common Name (CN), Organization (O), Organizational Unit (OU), Country (C), and the Subject Alternative Names (SANs) for modern certificates. The private key signs the CSR so the CA can confirm the requester controls it.
3. Submit the CSR to the CA. The CA verifies the identity claims, then signs the CSR with its own private key, producing a signed certificate (typically a `.crt` or `.pem` file).
4. Install the certificate. The signed certificate and, if needed, any intermediate CA certificates are installed on the web server alongside the private key.
5. Verify the chain. A client browser traces the certificate's issuer back to a trusted root CA. Every link in that chain must be valid.
When you inspect a certificate in a browser, you will see these important fields:
A trust chain (certificate chain) runs from the server's end-entity certificate up through one or more intermediate CAs to a root CA. Browsers trust the root CA and therefore trust anything it has signed — directly or indirectly. If any certificate in the chain is missing, expired, or signed by an untrusted CA, the browser displays a warning and blocks or alerts the user.
A self-signed certificate is signed by the same entity that issued it rather than by a recognized CA. Self-signed certificates are acceptable in closed lab environments, but a real user encountering one in a browser should treat it with suspicion: there is no independent verification of the server's identity.
An expired certificate means the current date is past the Not After date. This is a configuration failure, not an attack on its own, but it signals that the operator may not be maintaining security controls. A real user should not proceed; instead, they should report the issue to the website owner or their IT department and avoid submitting sensitive data.
OpenSSL is the standard command-line tool for PKI operations on Linux. Common commands you will use in this lab:
This lab uses isolated virtual machines. Keep all generated private keys inside the lab environment — do not export them to personal devices or public repositories. Treat private keys like passwords: anyone who possesses a private key can impersonate that server. Use strong passphrases on any key you protect with one. Delete lab CA keys and certificates at the end of the exercise so they cannot be misused outside the controlled environment. Work only on systems you are authorized to configure; never apply lab CA configurations to production or shared infrastructure.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.