daviddawn Posted September 6, 2014 Share Posted September 6, 2014 Hi all, I am faced with an error from stripe when attempting to process a transaction on the billing_stripe.php page, i believe it has something to do with stripe accepting my SSL certificate which is self signed via openssl, do i have to edit one of the stripe files and give the path to my certificate? i am able to use https through my site pages with my self signed SSL certificate however when i process the order with https still enabled in the url address bar, i receive the following error messages: "Unable to set verify locations" "failed to create an SSL handle" "Failed to enable crypto in" "unable to connect to ssl://api.stripe.com:443 (Unknown error) in" the error is occurring in the function stream_socket_client() despite receiving the error i do receive the token from stripe and can see this also on my stripe dashboard on my account. please advise on how to resolve the issue. thanks in advance! Link to comment Share on other sites More sharing options...
Larry Posted September 11, 2014 Share Posted September 11, 2014 I believe this error should not be because of your SSL certificate, rather an issue with cURL on your system. I believe there are some threads in StackOverflow that specifically address causes and solutions of this (or just Google). Link to comment Share on other sites More sharing options...
daviddawn Posted September 14, 2014 Author Share Posted September 14, 2014 HI Larry, thanks for replying, its ok i sorted the problem now, the error "Unable to set verify locations" and "failed to create an SSL handle" error were occuring because stripes file "ApiRequestor.php" was referencing the wrong path to their SSL certificate in my directory, a little fix in the path to help find the file sorted it. thanks Link to comment Share on other sites More sharing options...
Larry Posted September 15, 2014 Share Posted September 15, 2014 Awesome. Kudos for figuring it out and thanks for letting me know. Link to comment Share on other sites More sharing options...
officialpranab Posted January 6, 2015 Share Posted January 6, 2015 Hi, I am facing this error when connecting with stripe. Warning: stream_socket_client(): failed to create an SSL handle in .. /public_html/lib/Stripe/ApiRequestor.php on line 365 Please advice me how to solve this. Link to comment Share on other sites More sharing options...
Larry Posted January 6, 2015 Share Posted January 6, 2015 Most likely there's a problem with your SSL configuration on your server. Link to comment Share on other sites More sharing options...
Recommended Posts