News for hackers. Stuff that matters.
Re:SSL and PHP Streams, Part 1 by RobAley on Thursday June 26, 2014 @10:22AM (#7949744)
The article is somewhat out of date, the default is now to verify (though you can turn it off if you need to). A lot is changing with PHP, and people aren't keeping up.
Re:SSL and PHP Streams, Part 1 by viraptor on Thursday June 26, 2014 @11:15AM (#7950060)
> the default is now to verify

You mean in the version that's not properly released or anywhere close to production ready? 5.5 still defaults to not verifying according to the documentation.

Re:SSL and PHP Streams, Part 1 by johnnyfaehell on Thursday June 26, 2014 @10:32AM (#7949806)
I love how this article was written today and is already out of date.
Re:SSL and PHP Streams, Part 1 by DaveRandom on Thursday June 26, 2014 @10:47AM (#7949889)
I did quite clearly state, this information applies to PHP versions before 5.6 (which means that in practice, people need to be doing this for at least the next two years until 5.6 is widely adopted)...

The next article will cover the changes in 5.6 and why you don't need to set those ctx opts any more (and a few more you might want to set instead)