diff --git a/src/module/module_repo.c b/src/module/module_repo.c
index b52ac104ef8928d215393748a4139936452ca909..ef60e625b4a6909f055c452b56c2649600fa5808 100644
--- a/src/module/module_repo.c
+++ b/src/module/module_repo.c
@@ -235,8 +235,12 @@ __json_dl(const char *url, char **json)
     curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, __write_mem);
     curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA,     (void *) &file);
     curl_easy_setopt(curl_handle, CURLOPT_USERAGENT,     "libcurl-agent/1.0");
-    res = curl_easy_perform(curl_handle);
 
+    // 'SSL peer certificate or SSH remote key was not OK' on Fedora
+    curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0);
+    curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 0);
+
+    res = curl_easy_perform(curl_handle);
     if (res != CURLE_OK) {
         LOG_ERROR("CURL", "curl_easy_perform failed on url %s: %s", url, curl_easy_strerror(res));
         goto err;