Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Request #18662 Unable to configure SSL settings.
Submitted: 2011-07-13 14:31 UTC
From: sammousa Assigned: cweiske
Status: Closed Package: OpenID (version 0.3.1)
PHP Version: 5.3.6 OS: Windows
Roadmaps: 0.4.0    
Subscription  


 [2011-07-13 14:31 UTC] sammousa (Sam Mousa)
Description: ------------ When using the examples included in the package I am getting SSL certificate errors. To work around this problem the user should be able to either: - Set the capath configuration or - Disable certificate verification. Some pointers as to where (I think) changes need to be made. OpenID_Discover::getDiscover should set HTTPREQUEST options for the newly created object before using it. OpenID_Association_Request:sendAssociationRequest should pass an options array to the directRequest method. My suggestion is to keep an options array in the base OpenID class. Each subclass doing any HTTP request should then make sure it uses this options array. I'm willing to help but I'm not very familiar with PEAR yet, just let me know how I can be of assistance!

Comments

 [2011-07-15 07:50 UTC] shupp (Bill Shupp)
Sam, Thanks for the comments. I haven't seen this before, are you seeing it with a specific provider that I could duplicate it with? If I can reproduce this, I'm certainly happy to accept patches if you care to provide one. Thanks, Bill
 [2014-07-19 19:18 UTC] cweiske (Christian Weiske)
-Roadmap Versions: +Roadmap Versions: 0.4.0
 [2014-07-19 19:40 UTC] sammousa (Sam Mousa)
This was 3 years ago,so I don't remember details. Feel free to close this issue
 [2014-07-19 22:25 UTC] cweiske (Christian Weiske)
I know what the problem is and already have an idea how to solve it.
 [2014-07-23 03:14 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git. OpenID_RelyingParty now has a setRequestOptions() method that can be used to configure all HTTP_Request2 objects that are used to fetch data via HTTP. Specifying curl as adapter and modifying the SSL settings is now possible at a central place.