Looks like I figured out the issue.

I needed to add a directive pointing to my CA Bundle.

Config now becomes.

// Array of options 
$ClientOptions = array( 
                'ssl' => array( 
                                // Verify server side certificate, 
                                // do not accept invalid or self-signed SSL
certificates 
                                'verify_peer' => true, 
                                'allow_self_signed' => false,
                                                
                                // We need a Certificate Bundle of trusted CA's
                                'cafile' => '/etc/pki/tls/certs/ca-bundle.crt'
                ) 
); 

Works like a charm now.

Hope this helps someone else looking for this info.

-- Joseph

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Http-Client-Certificate-Validation-tp4384509p4385392.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to