Skip to content

Commit 0f9c7a2

Browse files
authored
Remove agentOptions for SSL certificate validation (#5577)
Remove agentOptions to reject unauthorized SSL certificates. Other API calls don't use this bypass.
1 parent 20ea1d1 commit 0f9c7a2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

core/routemgmt/common/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ function deleteApiFromGateway(gwInfo, gwApiId) {
237237
var options = {
238238
followAllRedirects: true,
239239
url: gwInfo.gwUrl+'/apis/'+gwApiId,
240-
agentOptions: {rejectUnauthorized: false},
241240
headers: {
242241
'Accept': 'application/json'
243242
}

0 commit comments

Comments
 (0)