-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.3.1
-
Component/s: None
-
None
Stream contexts are hip and cool, but cumbersome.
The user provided stream context also is just one context, while we connect to many servers.
Any further changes by the user of the context will not apply to all the streams.
This makes it a bit confusing.
Furthermore, it adds several lines of "bootstrapping" needed to get SSL working.
We can also simply get an array and make our own contexts - providing consistent verification behaviour across PHP versions.
- is related to
-
PHPC-185 Support global stream context
- Closed
-
PHPC-191 Add certification expiration matching
- Closed
-
PHPC-192 Implement verify_peer_name (hostname matching)
- Closed
- related to
-
DRIVERS-214 Default to verifying certificates against default CA certificates
- Closed