You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2026/06/17 15:30:53 UTC

(openwhisk) 01/01: Remove agentOptions for SSL certificate validation

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch rabbah-patch-1
in repository https://gitbox.apache.org/repos/asf/openwhisk.git

commit c712536b72a2d09b7e8f1e484a6c05e16f796a3f
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Wed Jun 17 11:30:46 2026 -0400

    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 a9672b9ac..6062eccf5 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'
     }