Skip to content

Instantly share code, notes, and snippets.

@afaqk9394
Created November 3, 2019 06:56
Show Gist options
  • Select an option

  • Save afaqk9394/0dd29d3baa0d733fa60092d67a2c3852 to your computer and use it in GitHub Desktop.

Select an option

Save afaqk9394/0dd29d3baa0d733fa60092d67a2c3852 to your computer and use it in GitHub Desktop.
authenticating
<?php
$context = stream_context_create(array('ssl'=>array('verify_peer_name'=>true,
'allow_self_signed'=>true,
'cafile'=>"/var/www/html/PHP-Sample/UCM-blah.cisco.com"
)));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment