phptwitterroot-certificate

Purpose of CA Root Certificates Bundle?


I was watching Ray Villalobos demonstrate how to work with the Twitter API 1.1 changes using PHP. During the video, he put this certificate in the server. My question is, what is the purpose of using this certificate?


Solution

  • I believe because he is using tmhOAuth library.

    On the tmhOAuth website, it says: "Version 0.60 hardened the security of the library and defaulted curl_ssl_verifypeer to true. As some hosting providers do not provide the most current certificate root file it is now included in this repository."

    So because cURL connects to the HTTPS page it has to use SSL certificate.