mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-24 12:42:15 +00:00
redfish: Set SSL_VERIFYHOST=0 to fix OpenBMC auth
This commit is contained in:
parent
5a95cf61d8
commit
68722ec6e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user