diff --git a/plugins/redfish/fu-redfish-backend.c b/plugins/redfish/fu-redfish-backend.c index 2465d31a9..e8ae524bc 100644 --- a/plugins/redfish/fu-redfish-backend.c +++ b/plugins/redfish/fu-redfish-backend.c @@ -78,8 +78,10 @@ fu_redfish_backend_request_new(FuRedfishBackend *self) user_agent = g_strdup_printf("%s/%s", PACKAGE_NAME, PACKAGE_VERSION); curl_easy_setopt(curl, CURLOPT_USERAGENT, user_agent); curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 60L); - if (!self->cacheck) + if (!self->cacheck) { curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); + curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); + } /* success */ return request;