Where can I find certificates signed by a CA which are invalid? I need them to test a program I'm writing - I want to check if it will correctly mark invalid certificates.
I found this site: https://badssl.com/ but I can't find any way to download the invalid site certificate.
I'm interested mainly in expired and revoked certificates. And (I'm not sure if it is important) I'm looking for certificates for signing things, not for web certificates (but AFAIK they're same).