diff --git a/src/Afip.php b/src/Afip.php index 63f1d7c..a9595c5 100644 --- a/src/Afip.php +++ b/src/Afip.php @@ -226,7 +226,7 @@ private function CreateServiceTA($service) 'location' => $this->WSAA_URL, 'trace' => 1, 'exceptions' => 0, - 'stream_context' => stream_context_create(['ssl'=> ['verify_peer'=> false,'verify_peer_name'=> false]]) + 'stream_context' => stream_context_create(['ssl'=> ['ciphers'=> 'AES256-SHA','verify_peer'=> false,'verify_peer_name'=> false]]) )); $results=$client->loginCms(array('in0'=>$CMS)); if (is_soap_fault($results)) @@ -376,7 +376,7 @@ public function ExecuteRequest($operation, $params = array()) 'location' => $this->URL, 'trace' => 1, 'exceptions' => 0, - 'stream_context' => stream_context_create(['ssl'=> ['verify_peer'=> false,'verify_peer_name'=> false]]) + 'stream_context' => stream_context_create(['ssl'=> ['ciphers'=> 'AES256-SHA','verify_peer'=> false,'verify_peer_name'=> false]]) )); }