Permalink
Browse files

Disable Cert Verification

  • Loading branch information...
1 parent 7a19978 commit 06bc17a5f57a3b60e243204c214889ed4b9c2e5a @duanehutchins committed Apr 12, 2012
Showing with 5 additions and 0 deletions.
  1. +4 −0 CHANGELOG.md
  2. +1 −0 Postmark.php
View
@@ -1,6 +1,10 @@
Postmark PHP class changelog
============================
+## 0.4.6
+
+* Disable Curl cert verification
+
## 0.4.5
* Internally uses constants for recipients
View
@@ -333,6 +333,7 @@ public function send($options = array())
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/Certificate/cacert.pem');
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$return = curl_exec($ch);
$curlError = curl_error($ch);

0 comments on commit 06bc17a

Please sign in to comment.