Answer the question
In order to leave comments, you need to log in
Reliable proxy to bypass blocking and open sites privately (Curl, PHP)?
Good afternoon!
There is a useful service that is blocked in the Russian Federation. This service has an API that I want to work with using Curl and PHP. Accordingly, I cannot send a request to the API from the local server.
In this case, you can proxy requests, but the proxy must be with good uptime and no logs (the access token and other sensetive data are transmitted in the request). You don't want to buy VPS outside this country for the sake of it.
Free proxies "from the Internet" most likely will not pass the criteria (there were also cases when the owners of such a "share" sinned with MiTM attacks and theft of sensitive data), solutions like Browsec are of interest.
I must say right away that I was not able to get Browsec under Curl, if anyone knows what is the difference between a PAC file and direct access to a proxy, please indicate in the answer. I tried to send a certificate, etc., in the end, I always got an error: SSL certificate problem: unable to get local issuer certificate.
Server OS: Windows
PHP version: 7.2
Answer the question
In order to leave comments, you need to log in
try to disable options
CURLOPT_SSL_VERIFYPEER
CURLOPT_SSL_VERIFYHOST
CURLOPT_PROXY_SSL_VERIFYPEER
CURLOPT_PROXY_SSL_VERIFYHOST
CURLOPT_SSL_VERIFYSTATUS
i.e. restore 0
look for Opera proxy, chewed on how to use it as a regular one in scripts
or WARP, but it's more difficult with it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question