Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Failed to set up crypto for secure connection
Avatar
andi (Administrator) #1
User title: splitbrain
Member since May 2006 · 3501 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: Failed to set up crypto for secure connection
Because some people asked how to solve above error message and I just had this at a customer's machine...

You will need openssl support in your PHP setup and on a somewhat recent OS that should be enough. But you might be forced to work with a system you don't have much influence on. So for me the solution was to provide PHP with a custom certificate storage.

Simply download the most recent cacert.pem from https://curl.haxx.se/docs/caextract.html (put it in your php directory for example) and set up PHP to use it in your php.ini using the cafile setting:

openssl.cafile=C:\php\cacert.pem
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-08, 22:19:50 (UTC +01:00)