Account for bad setups, bad data and handle unapproved certificates