Skip to content

Commit fb152f9

Browse files
authored
Merge pull request #319 from dtaniwaki/patch-2
Set client SSL on only CA case
2 parents ab7ee6e + 475a99e commit fb152f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/configurable-http-proxy

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ if (args.apiSslKey || args.apiSslCert) {
230230
options.apiSsl.rejectUnauthorized = args.apiSslRejectUnauthorized;
231231
}
232232

233-
if (args.clientSslKey || args.clientSslCert) {
233+
if (args.clientSslKey || args.clientSslCert || args.clientSslCa) {
234234
options.clientSsl = {};
235235
if (args.clientSslKey) {
236236
options.clientSsl.key = fs.readFileSync(args.clientSslKey);

0 commit comments

Comments
 (0)