Do not fail selftests on invalid certificates, correctly print request errors