sites with invalid / wrong certs setup to test browser / proxy?
I'm looking at a product that terminates ssl and then proxies ssl connections. The way it works is you install an enterprise wide trusted root certificate, then it will generate a new certificate for each ssl site you visit. It does that so that the ssl connections can be inspected for malware, phishing, stuff like that. However I see one big problem with it, if a site has any certificate that may be valid it will re-sign it, and I'll not be able to tell who owns the original certificate and if I'm at the right site. I would like to be able to test ssl certificate warnings in the browser. So I want to try going to an SSL site that has the wrong certificate installed. For example, a 'testsite.com' cert installed on a host 'abcsite.com'. I'd also like to try to access a site that has a self-signed certificate that should not be trusted (it's valid but it's self signed and not connected to a trusted root). I can't seem to find any good sources for testing this kind of thing. Do they exist?
*edit: I don't want to check my certificates, or a server's certificate. I want sample sites setup with these certificates that should not be trusted so I can make sure my browser (and hopefully the product that proxies these ssl requests) will recognize that those servers / certificates can't be trusted.
Posted Oct 6, 2016, 6:20 PM UTC
goto https://www.ssllabs.com/ it can validate the cert and chain of trust very well....
Tried that, it only checks what is supported by my browser but it doesn't test the error conditions. That's what I want to test. I want a server that is configured in a way as to impersonate a man in the middle attack and see what my browser does. My browser should show me some kind of warning, that's what I have to trigger. I believe that the ssl proxy isn't properly validating certificates.
Maybe I'm confused but load up Burp proxy and create the MITM locally?