# Invalid TLS certificate

A local service presents a certificate signed by the lab CA, but hostname validation fails. Investigate the live certificate and restore validation without disabling certificate checks.

## Before you begin

You need Linux, Bash, Python 3 and OpenSSL. The lab starts a TLS server on a dynamically assigned loopback port and creates temporary private key material in `.lab-state`; it does not modify host DNS. Use a disposable local environment.

## Run and clean up

From this directory, run `./setup.sh` and use the printed address to investigate. After your changes, run `./verify.sh` and `./teardown.sh`. Teardown stops the matching lab server and removes its generated local state.
