Answer the question
In order to leave comments, you need to log in
What's wrong with PHP curl on HTTPS request?
Have a request
$request = curl_init();
curl_setopt_array($request, [
CURLOPT_PORT => 3111,
CURLOPT_URL => "https://sign.sysenterprise.com/",
CURLOPT_POST => false,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 20,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSL_VERIFYPEER => true
]);
$ret = curl_exec($request);
SSL certificate problem: self signed certificate
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question