Skip to content

Commit

Permalink
add missed parameter (rejectUnauthorized) in https agent
Browse files Browse the repository at this point in the history
  • Loading branch information
allen-li1231 committed Jan 4, 2025
1 parent f628599 commit 6acebf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension/notebookKernel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ export class ZeppelinKernel {
let caPath: string | undefined = config.get('https.CA-Certification');
let keyPath: string | undefined = config.get('https.KeyPath');
let passphase: string | undefined = config.get('https.passphase');
service.setHttpsAgent(caPath, keyPath, passphase);
let rejectUnauthorized = config.get('https.rejectUnauthorized', false);
service.setHttpsAgent(caPath, keyPath, passphase, rejectUnauthorized);

this._service = service;
return service;
Expand Down

0 comments on commit 6acebf2

Please sign in to comment.