diff --git a/src/module/module_repo.c b/src/module/module_repo.c
index ef60e625b4a6909f055c452b56c2649600fa5808..8a605837a5134191577dbc41c85b3a6a7a98a6f4 100644
--- a/src/module/module_repo.c
+++ b/src/module/module_repo.c
@@ -315,6 +315,10 @@ retest:
     curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA,     (void *) &file);
     curl_easy_setopt(curl_handle, CURLOPT_USERAGENT,     "libcurl-agent/1.0");
 
+    // '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);
+
     if (CURLE_OK != (ret = curl_easy_perform(curl_handle))) {
         LOG_ERROR("CURL", "curl_easy_perform failed: %s", curl_easy_strerror(ret));
         goto err;