This document describes how to use curl with both custom and official CA SSL certificates.
You would need first to install curl , see http://curl.haxx.se/docs/install.html. Using a package manager such as yum, brew, ... for your platform should be the easiest though.
Example for Mac OS: