ERROR UPDATE THEMA: Download failed. cURL error 35: SSL connect error wordpress

0

Hello, guys !!

I am encountering a wordpress error, which happens when I update my thema through the wordpress panel itself.

Update Failed: Download failed. cURL error 35: SSL connect error

which, by the way, seems to be created by ssl of the site, already tried this video below: link

I tried to force ssl shutdown in wp.config define ('FORCE_SSL_ADMIN', false);

I still do not know exactly what can cause this. my thema is the ispirit

www.inforitter.com.br

Thank you to all who can help!

    
asked by anonymous 02.06.2018 / 03:23

1 answer

0

I think it's only possible to use the panel between client and server communication, to install external themes is a server with a server, that is, it does not have direct browser interaction.

What you have to do (if it's PHP5.6 +) is to set it to define('FORCE_SSL_ADMIN', false); SSL, you should set php.ini , or openssl.cafile , as I replied at link

  

The following explanations are for Linux servers, if WindowsServer is not applied, but can be adapted

You can download this link , you can use openssl.capath

$ wget http://curl.haxx.se/ca/cacert.pem

And then point at PHP.INI as well (available since php5.6):

openssl.cafile=/path/cacert.pem

Restart Apache (if it's apache).

  

Very Important Note

     

In Linux distributions, usually wget for CLI is different, php.ini runs using composer , usually the CLI php.ini is in the folder:

/etc/php/5.6/cli/php.ini
     

Then you will have to edit both CLI and php.ini used by Apache and both add /etc/php/5.6/cli/php.ini

     

Apache should be something like openssl.cafile=/path/cacert.pem

     

In older versions of Ubuntu, folders like /etc/php5/apache2/php.ini , /etc/php/5.4/ and /etc/php/5.5/ are exchanged for /etc/php/5.6/

Alternative, Turning Off SSL

If you have difficulties, little knowledge about servers, then you can try to turn off SSL on Wordpress, as this response from SOen : link you should set /etc/php5/ to turn off SSL by changing:

'sslverify' => true,

To:

'sslverify' => true,

So:

'decompress' => true,
'sslverify' => false,
'sslcertificates' => ABSPATH . WPINC . '/certificates/ca-bundle.crt',
'stream' => false,
'filename' => null,
'limit_response_size' => null,
    
02.06.2018 / 05:07