Skip to content

Commit

Permalink
Merge pull request #3 from parijke/patch-1
Browse files Browse the repository at this point in the history
Update wsdlVNif.php #2
  • Loading branch information
alphp authored Nov 17, 2020
2 parents ea0ace3 + 1479376 commit 628d5e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wsdlVNif.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public function __construct ($local_cert, $passphrase, $options = [], $ssl_verif

protected function stream_context ($ssl_verifypeer = true, $options = []) {
$options['http']['user_agent'] = 'PHPSoapClient';
$options['ssl']['ciphers'] = 'DEFAULT@SECLEVEL=1';

if (!$ssl_verifypeer) {
$options['ssl']['verify_peer'] = false;
$options['ssl']['verify_peer_name'] = false;
Expand Down

0 comments on commit 628d5e1

Please sign in to comment.