From c7b5aca799ae0563c28505c25e20c93ae93105db Mon Sep 17 00:00:00 2001 From: helongfei Date: Thu, 15 Sep 2022 14:29:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5ssl=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/edgegallery/developer/util/HttpClientUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/edgegallery/developer/util/HttpClientUtil.java b/src/main/java/org/edgegallery/developer/util/HttpClientUtil.java index 36b8f488..12704314 100644 --- a/src/main/java/org/edgegallery/developer/util/HttpClientUtil.java +++ b/src/main/java/org/edgegallery/developer/util/HttpClientUtil.java @@ -556,7 +556,7 @@ public final class HttpClientUtil { private static String getAuthToken(String url) { String requestUrl = url + Consts.MEAO_GET_TOKEN_URL; LOGGER.info("AuthToken requestUrl:{}", requestUrl); - CloseableHttpClient httpClient = HttpClientBuilder.create().build(); + CloseableHttpClient httpClient = ContainerImageUtil.createIgnoreSslHttpClient(); HttpPost httpPost = new HttpPost(requestUrl); AuthEntity authEntity = new AuthEntity(); HttpResponse response; -- Gitee