How to test "certificate name mismatch" problem and fix?

Last question: How do I revoke the old certs?