Peer certificate cannot be authenticated with known CA certificates using PHP OAuth extension
问题 I'm using PHP OAuth extension to make a call to the Tradeking API. When I make the exact call as in here, https://developers.tradeking.com/documentation/php I'm getting the exception Exception caught! Response: making the request failed (Peer certificate cannot be authenticated with known CA certificates) Why this is happening and how can I resolve this? 回答1: The OAuth extension uses curl to make the request. By default CURL will generally verify the SSL certificate to see if its valid an