summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/aia-get.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aia-get.c b/src/aia-get.c
index 4536e25..8def6ad 100644
--- a/src/aia-get.c
+++ b/src/aia-get.c
@@ -60,6 +60,12 @@ static void perform_query(struct keyrequest *kr)
if (!curl)
kr->callback(kr->closure, 0, "out of memory", 0);
else {
+ /*
+ * FIXME: forgerock's certificate expired on October 26, 2018.
+ * Disable certificate checks until it gets renewed.
+ */
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
+
oidc_add_bearer(curl, kr->token);
curl_wrap_do(curl, perform_query_callback, kr);
}