Skip to content

Commit c325a55

Browse files
committed
Downloader needs to know about certs
1 parent a84de01 commit c325a55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ let pkg = require(path.join(__dirname, 'package.json'));
1616
let userAgent = 'vsts-task-installer/' + pkg.version;
1717
let requestOptions = {
1818
// ignoreSslError: true,
19-
proxy: tl.getHttpProxyConfiguration()
19+
proxy: tl.getHttpProxyConfiguration(),
20+
cert: tl.getHttpCertConfiguration()
2021
} as ifm.IRequestOptions;
2122
let http: httpm.HttpClient = new httpm.HttpClient(userAgent, null, requestOptions);
2223
tl.setResourcePath(path.join(__dirname, 'lib.json'));

0 commit comments

Comments
 (0)