Jump to content
php.lv forumi

Problem with the SSL CA cert (path? access rights?)


capsx

Recommended Posts

sveiki!

 

ir:

centos 6.3

php 5.3.3

curl 7.19.7

 

noklusētā FDL merchant klase

 


curl_setopt($curl, CURLOPT_URL, $this->url);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($curl, CURLOPT_SSLCERT, $this->keystore);
curl_setopt($curl, CURLOPT_CAINFO, $this->keystore);
curl_setopt($curl, CURLOPT_SSLKEYPASSWD, $this->keystorepassword);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec ($curl);

 

 

vislaik met "Problem with the SSL CA cert (path? access rights?)"

 

visaadi izmeeghinaajos, nekaadiigi nesanaak piedabuut pie dziiviibas

principaa paaakums ir naacis no cita servera 1:1, pirmstam visur ir straadaajis

izmantotais SSL certs staav custom pathaa, ieliekot jamo /etc/pki/tls/certs nekas nemainas

certu apacis var nolasiit

 

ir idejas ??? ar guugles tanti galaa netikam :(

Link to comment
Share on other sites

  • 4 months later...

BUMP 

Problem with the SSL CA cert (path? access rights?)

 

Atnācām no cita servera uz tiem pašiem parametriem, kas norādīti autoram (centos)

PHP 5.3.3

cURL: 7.19.17 (uh 17 > 7)

Centos

 

 

Dīvaini jau ir tas, ka uz vecā servera (hostgator'a (5.2)) viss strādāja super, bet šeku, reku -  jaunajam serverim nepatīk.

path ir īstais. Permissions ir mēģināts, gan 777, gan bez write tiesībām.

Edited by anonīms
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...