下载 SSL 证书
- 右键单击此链接上的将该文件“另存为”到您的硬盘中。
- Unzip the file and choose the certificate to use. Most users - espcially if they are new to Bright Data - should use the *new SSL certificate.
在代码中使用 SSL 证书
如果您编写抓取代码,在大多数情况下,您无需在环境中安装 SSL 证书。 只需在代码中加载 SSL 证书即可。 例如,对于 CURL:安装 SSL 证书
在某些情况下,例如使用某些不允许从硬盘加载证书的第三方工具时,您仍需要在计算机上安装 SSL 证书。Where do I install the certificate?
The SSL certificate needs to be installed on the host that is running the actual scraping code or application. In most cases this is your PC but, if you use a cloud-hosted server to run your code, you need to install the SSL certificate on the server itself.Installation instructions
这只需要 2 分钟,只需按照以下说明操作即可:- 如果您还没有这样做,请右键单击此链接,将文件“另存为”到您的硬盘中: https://brightdata.com/static/brightdata_proxy_ca.zip
- 双击 ca.crt 文件
- 按照 Windows 的说明安装证书。
- 重启电脑
- 重启,您就可以连接到所需的 Bright Data 产品(住宅代理、Web Unlocker 或 SERP API)