Реклама
есть php код (нерабочий). $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://icrs.nbki.ru/products/B2BRequestServlet'); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); curl_setopt($ch, CURLOPT_PORT , 443); curl_setopt($ch, CURLOPT_SSLVERSION,3); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSLCERT, "C:/WebServer/home/fastcomputers.myjino.dev/www/admin/bat/CryptoProPub2011.pem"); curl_setopt($ch, CURLOPT_CAINFO, "C:/WebServer/home/fastcomputers.myjino.dev/www/admin/bat/ICRS_NBKI_RU_Public_Key_2011.pem"); curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'ALL'); curl_setopt($ch, CURLOPT_SSLENGINE, 'gost'); $response = curl_exec($ch); $errors = curl_error($ch); curl_close($ch);...
Другие открытые задания:
Бюджет: 3 500 р. Требуется помощник для работы с каталогами товаров нашего магазина спорттоваров. Основная задача — заполнять информацию о позициях в Excel-таблицах, добавлять харак…
Бюджет: 3 200 р. Требуется помощник для работы с контентом в нашей кальянной. Основные задачи включают размещение готовых фото и видео на площадке WhatsApp, общение с посетителями в…
Бюджет: 1 800 р. Ищем редактора для оформления карточек товаров и публикации объявлений. Требуется грамотность, внимательность и умение создавать привлекательное описание продукции.…
поиск заданий
настроить CURL соединение по ssl сертификатам в php коде
Реклама
настроить CURL соединение по ssl сертификатам в php коде
есть php код (нерабочий).
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://icrs.nbki.ru/products/B2BRequestServlet');
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_PORT , 443);
curl_setopt($ch, CURLOPT_SSLVERSION,3);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSLCERT, "C:/WebServer/home/fastcomputers.myjino.dev/www/admin/bat/CryptoProPub2011.pem");
curl_setopt($ch, CURLOPT_CAINFO, "C:/WebServer/home/fastcomputers.myjino.dev/www/admin/bat/ICRS_NBKI_RU_Public_Key_2011.pem");
curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'ALL');
curl_setopt($ch, CURLOPT_SSLENGINE, 'gost');
$response = curl_exec($ch);
$errors = curl_error($ch);
curl_close($ch);...