L
L
LOtaku2020-02-04 22:06:16
proxy
LOtaku, 2020-02-04 22:06:16

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

3 answer(s)
Z
zlo1, 2020-02-05
@LOtaku

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

D
Dimonchik, 2020-02-04
@dimonchik2013

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

C
CityCat4, 2020-02-05
@CityCat4

SSL certificate problem: unable to get local issuer certificate.

The publisher's certificate is unknown. Either disable certificate authentication in curl, or register it in the trusted certificate store - in Windows this is easier to do than in Linux

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question