linux ubuntu14.x apache上
在WxPayPubHelper.php里面 postXmlSSLCURL方法里
//curl_setopt($ch,CURLOPT_SSLCERT, WxPayConf_pub::SSLCERT_PATH); curl_setopt($ch,CURLOPT_SSLCERT, dirname(__FILE__).'/cacert/apiclient_cert.pem'); //curl_setopt($ch,CURLOPT_SSLKEY, WxPayConf_pub::SSLKEY_PATH); curl_setopt($ch,CURLOPT_SSLKEY, dirname(__FILE__).'/cacert/apiclient_key.pem');