add ability to turn certificate validation off

This commit is contained in:
Brent Shikoski 2023-09-03 20:43:32 -05:00
parent 87119cee2e
commit d0147778db

View File

@ -46,7 +46,6 @@ const runSingleRequest = async function (filename, bruJson, collectionPath, coll
const insecure = get(getOptions(), 'insecure', false);
if(insecure) {
console.log("Certificate validation has been disabled.");
request.httpsAgent = new https.Agent({
rejectUnauthorized: false
});