diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2019-02-18 16:33:25 +0200 |
---|---|---|
committer | raquel medina <raquel.medina@konsulko.com> | 2019-05-06 10:15:49 +0000 |
commit | c9b5a5ea3a2a485a71fdf176026d5bc7bbf78a31 (patch) | |
tree | 8a6c7c27ab9063ee82fe62c682ee60395b146509 /src/aia-get.c | |
parent | f122b8434c8776e5a19bfb6beda5db093489272b (diff) |
binding: identity: disable endpoint certificate checksguppy_7.0.4guppy_7.0.3guppy_7.0.2guppy/7.0.4guppy/7.0.3guppy/7.0.27.0.47.0.37.0.2guppy
agl-graphapi.forgerocklabs.org's certificate expired on Friday,
October 26, 2018; disable certificate checks to allow for user profile
data retrieval.
Original work from Scott Murray <scott.murray@konsulko.com>.
Bug-AGL: SPEC-2158
Change-Id: Idebc7d2afa6ad7b40550bc19b4012ea8b277d126
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 7a98942f2275aef1a704d25f063cc14436ef4f15)
Diffstat (limited to 'src/aia-get.c')
-rw-r--r-- | src/aia-get.c | 6 |
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); } |