From 6cff4fd3da95ca56b9523d87cf5a0857fea90399 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Wed, 1 Jun 2022 04:02:44 +0000
Subject: [PATCH] Resolve "curl in FileLoader fails with certificate error"

---
 src/FileLoaderHelper.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/FileLoaderHelper.h b/src/FileLoaderHelper.h
index 0d84d2cb..ea310e2f 100644
--- a/src/FileLoaderHelper.h
+++ b/src/FileLoaderHelper.h
@@ -102,6 +102,7 @@ EnsureFileFromURLExists(
     if (!fs::exists(hash_path)) {
       printout(ERROR, "FileLoader", "unable to run cmd " + cmd);
       printout(ERROR, "FileLoader", "check command and retry");
+      printout(ERROR, "FileLoader", "hint: allow insecure connections with -k");
       std::quick_exit(1);
     }
   }
-- 
GitLab