mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-10 16:08:40 +01:00
add ability to turn certificate validation off
This commit is contained in:
parent
87119cee2e
commit
d0147778db
@ -46,7 +46,6 @@ const runSingleRequest = async function (filename, bruJson, collectionPath, coll
|
|||||||
|
|
||||||
const insecure = get(getOptions(), 'insecure', false);
|
const insecure = get(getOptions(), 'insecure', false);
|
||||||
if(insecure) {
|
if(insecure) {
|
||||||
console.log("Certificate validation has been disabled.");
|
|
||||||
request.httpsAgent = new https.Agent({
|
request.httpsAgent = new https.Agent({
|
||||||
rejectUnauthorized: false
|
rejectUnauthorized: false
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user