I am getting the below error while making ssl connection with self signed certificate.
\"Peer certificate cannot be authenticated with known CA certificates\"
We fixed a similar issue on CentOS 6 by updating curl to the latest version available in the standard repositories and installing the newest ca-certificates bundle: