Skip to content

Commit

Permalink
Request client certs
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Bygrave <chris.bygrave@kaleido.io>
  • Loading branch information
chrisbygrave committed Apr 28, 2023
1 parent f36531e commit 471f814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const getHttpRequestOptions = (username: string, password: string) => {
}
const certs = getCertificates();
if (certs) {
requestOptions.httpsAgent = new https.Agent(certs);
requestOptions.httpsAgent = new https.Agent({ ...certs, requestCert: true });
}
return requestOptions;
};
Expand Down

0 comments on commit 471f814

Please sign in to comment.