At badssl.com you can easily test several TLS certification errors.
This is especially useful for testing my previous TIL thisisunsafe.

Example

Open subdomain.preloaded-hsts and type thisisunsafe.