-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support client certificates #31529
feat: support client certificates #31529
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e64d5f9
to
24339b5
Compare
This comment has been minimized.
This comment has been minimized.
24339b5
to
0a3d5dd
Compare
This comment has been minimized.
This comment has been minimized.
0a3d5dd
to
8723c6c
Compare
This comment has been minimized.
This comment has been minimized.
8723c6c
to
5521b11
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
Outdated
Show resolved
Hide resolved
packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
Outdated
Show resolved
Hide resolved
packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
Outdated
Show resolved
Hide resolved
packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
Outdated
Show resolved
Hide resolved
packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
94ad52d
to
e3ef568
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f6b1532
to
cb787be
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thanks a lot for adding this feature, it is greatly appreciated :D |
@@ -190,9 +193,11 @@ export abstract class APIRequestContext extends SdkObject { | |||
maxRedirects: params.maxRedirects === 0 ? -1 : params.maxRedirects === undefined ? 20 : params.maxRedirects, | |||
timeout, | |||
deadline, | |||
...(process.env.PW_DO_NOT_USE_EXTRA_CA_CERTS ? { ca: [fs.readFileSync(process.env.PW_DO_NOT_USE_EXTRA_CA_CERTS)] } : {}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- nit: I'd add an
if
statement at line 199.5 instead. - Should it be
PWTEST_CUSTOM_CA
? It confusing has "do not use" in the env name, and then uses the ca.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to make the name clear that this is unsupported. Changed it to UNSUPPORTED
instead.
Co-authored-by: Dmitry Gozman <[email protected]> Signed-off-by: Max Schmitt <[email protected]>
This comment has been minimized.
This comment has been minimized.
c62b928
to
560f06b
Compare
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Dmitry Gozman <[email protected]> Signed-off-by: Max Schmitt <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
550c500
to
37ab55c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"1 failed 7 flaky28905 passed, 708 skipped Merge workflow run. |
#1799
#13426