I am consuming API in magento 2 using
\Magento\Framework\HTTP\Client\Curl
Its working with http but not working with https so I am getting following error.
SSL certificate problem: self signed certificate
So how to disable SSL verification using Curl class.