Hands-on task
Sign a certificate with your CA
You have a CA (/root/ca.crt, /root/ca.key) and a CSR (/root/server.csr) for app.local. Sign the CSR with your CA, issuing the certificate /root/server.crt for 365 days.
Browsers match the site name against the SAN field, not the CN, so the certificate must have a subjectAltName with DNS:app.local. Extensions are taken from a file at signing time: add it to /root/server.ext (open it in the Editor tab) and pass that file when signing.
- openssl
- pki
- signing a csr
- issuer