playwright/packages/playwright-core/bin/socks-certs/README.md

13 lines
528 B
Markdown
Raw Normal View History

2024-07-09 17:08:55 +02:00
# Certfificates for Socks Proxy
These certificates are used when client certificates are used with
Playwright. Playwright then creates a Socks proxy, which sits between
the browser and the actual target server. The Socks proxy then does the
TLS upgrade using the certficiates in this directory (locally) while
maintaining the client certificates to the target server.
The certificates are generated via:
```bash
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -keyout key.pem -out cert.pem -subj "/CN=localhost"
```