Apache HTTPS with a Training CA
The portal works over plain HTTP. Give it a real certificate: a private key and request on server1, a signature from the training CA on the client, a TLS vhost, trust on the client, and a redirect that retires port 80. The CA's private key never leaves the client.
Skill labintermediate~55 minPro
What you'll do
- ✓Create a protected private key and a signing request that names the host in a SAN
- ✓Sign the request with a CA whose private key stays where it is
- ✓Serve HTTPS from a port-443 VirtualHost with the system's TLS policy
- ✓Trust a root certificate on a client and verify with curl and openssl, no -k
- ✓Redirect HTTP to HTTPS and show the two ways a wrong certificate fails
Lab outline
- 01A site, a client, a CA
- 02Issue a certificate
- 03Serve HTTPS
- 04Trust, verify, redirect
Before you start
- Apache Name-Based Virtual Hosts
- Time Zones and Reliable Time Synchronization
- SFTP and Verified File Synchronization
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.