Add handling for cert validation errors (can occur when connecting to endpoint over HTTPS)