0

How to disable SSL verification in POST request using Buzz php library? Founded here: Buzz - Scripted HTTP browser

I want to achieve something like using cURL with "-k" flag.

fabtosz
  • 197
  • 3
  • 15
  • Show your code, how do you perform a request right now? – eRIZ Aug 22 '17 at 10:42
  • Currently I have error. Here is log: "CRITICAL - Uncaught PHP Exception Buzz\Exception\RequestException: "SSL: certificate subject name 'localhost' does not match target host name '172.16.170.44'" at /code/vendor/kriswallsmith/buzz/lib/Buzz/Client/Curl.php line 29 " – fabtosz Aug 22 '17 at 12:19
  • I want to ommit SSL verification. I've used in Buzz client setVerifyPeer(false) but it doesn't work. – fabtosz Aug 22 '17 at 12:21
  • I'm not asking for a problem explanation but for a code you're using. – eRIZ Aug 22 '17 at 13:29

0 Answers0