From c712536b72a2d09b7e8f1e484a6c05e16f796a3f Mon Sep 17 00:00:00 2001 From: rodric rabbah Date: Wed, 17 Jun 2026 11:30:46 -0400 Subject: [PATCH] Remove agentOptions for SSL certificate validation Remove agentOptions to reject unauthorized SSL certificates. Other API calls don't use this bypass. --- core/routemgmt/common/utils.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/routemgmt/common/utils.js b/core/routemgmt/common/utils.js index a9672b9ac63..6062eccf5a0 100644 --- a/core/routemgmt/common/utils.js +++ b/core/routemgmt/common/utils.js @@ -237,7 +237,6 @@ function deleteApiFromGateway(gwInfo, gwApiId) { var options = { followAllRedirects: true, url: gwInfo.gwUrl+'/apis/'+gwApiId, - agentOptions: {rejectUnauthorized: false}, headers: { 'Accept': 'application/json' }