Hands-on task
Verify the chain of trust
/root contains a certificate authority certificate ca.crt and two server certificates — server.crt and backup.crt. Both claim to be issued by this CA (their Issuer field is CN=CA), but whether that's really true is unknown: an issuer name is easy to fake, a signature is not.
Check each certificate against ca.crt and write the result of checking both to /root/verify.txt: for the genuine one — the line with OK, for the fake one — the message saying the verification failed.
- openssl
- pki
- chain of trust
- verify