Changing certificate detection