By Roman Lipatov on Friday, 21 January 2022
Posted in Technical Issues
Likes 0
Views 509
Votes 0
Hello!
Unable to install Languages in EasyBlog admin panel - Internal Server Error

Hello,

Please provide us with the site and FTP access to the site so that we can take a look at the error.
·
Friday, 21 January 2022 22:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I've updated superuser details in topic.
·
Friday, 21 January 2022 23:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Roman,

Thanks, it looks like the FTP access which you provided is for a different site and not for biblsoft.ru . Anyway, can you download the attached file, extract the contents and upload the cacert.pem file into /libraries/foundry/libraries/connector/ and give this a try again?
·
Saturday, 22 January 2022 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
I've updated FTP details in the topic.
I've replaced cacert.pem - but it's still not working.
Watch this video: https://directory.audio/images/monopics/2022-01-22_14-25-50.mp4
I returned the old file because it seems this file is from Joomla Core.
·
Saturday, 22 January 2022 20:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Roman,

Initially I thought it was caused by an outdated cacert file but after testing this thoroughly, all other customers that uses our language server seems to be able to detect / install languages just fine even with the outdated cacert file.

I think the issue is the outdated php-curl extension that is compiled with PHP. It seems like the PHP Curl library is quite dated, https://vx.my/2dd8wcwt . Is there any way to get this updated to try it out? On my local, this is my current curl version, https://vx.my/okxek09b

By the way, the cacert file is actually from https://curl.se/docs/caextract.html and not specifically from Joomla.
·
Saturday, 22 January 2022 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark, Curl 7.52.1 - is the last version for Debian 9.

I have a full copy of this site on the same server, but it has EasyBlog 5.
And there is no problem with languages.
So, there are no problems with Curl.
Watch this video, please - https://directory.audio/images/monopics/2022-01-22_17-14-07.mp4
·
Saturday, 22 January 2022 23:23
·
0 Likes
·
0 Votes
·
0 Comments
·
I have replaced the latest CA certificates .pem file on your site JoomlaFolder/libraries/foundry/libraries/connector/cacert.pem since we will update this CA certificates .pem file in the next release version.

So this is the error return from your server now :


Error
An error has occurred.
0 cURL error 60: server certificate verification failed. CAfile: /var/www/biblsoft/data/www/biblsoft.ru/libraries/foundry/libraries/connector/cacert.pem CRLfile: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)


The issue, from the curl documentation, is

CURLE_PEER_FAILED_VERIFICATION (60)

The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK. This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its previous value was 51.
----- https://curl.haxx.se/libcurl/c/libcurl-errors.html


After that, I have done a lot of research about this error + Debian 9, I found out that one of the threads who have this similar issue as what you facing right now:

https://talk.plesk.com/threads/curl-from-php-gives-error-60.362386/

I think you have to consult with your Webhosting provider regarding this and see how it goes? Even I manually use PHP CURL sample code to curl to your site domain then it also returns the same error, you can test this URL https://biblsoft.ru/testcurl.php . (screenshot: https://monosnap.com/file/CEEUjARl0mLRcZ1uLm3sNCW4kNwZpF )

I have a full copy of this site on the same server, but it has EasyBlog 5.
And there is no problem with languages.
So, there are no problems with Curl.

The reason why this is no problem from the Easyblog 5 is that we added the following option to disable all verification of SSL certificates.


curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);


Then we realized this might introduce the security issue that SSL is designed to protect against, so we don't add this option in Easyblog 6.
·
Monday, 24 January 2022 12:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, we have updated all server packages, and now languages work correctly.
Thanks.
·
Sunday, 30 January 2022 21:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Great, glad that your issue is resolved now
·
Sunday, 30 January 2022 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post