简体   繁体   中英

Typo3 cURL "SSL certificate not found" despite http verify set to "false"

Error when trying to upgrade Typo3 or update an Extension via Backend (Server name obfuscated):

in typo3_src-10.4.26/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 449

        if (!file_exists($cert)) {
            throw new \InvalidArgumentException(
                "SSL certificate not found: {$cert}"
            );
        }

Configuration setting is: $GLOBALS['TYPO3_CONF_VARS']['HTTP']['verify'] = false;

Beside setting via BE (LocalConfiguration.php) also tried additionally with entry in AdditionalConfiguration.php

Normally it should not verify the SSL certificate with this setting as far as I understood it. Is there something else I can do to debug or solve this error?

Environment Info:

  • Typo3 10.4.26
  • PHP Version 7.4.30
  • cURL 7.64.0
  • Certificate self signed certbot certificate
  • Server: HostEurope WebServer Basic with Debian GNU/Linux 10 (buster),
    domain is the default HE server domain eg "wp12345678.server-he.de"

Try to set $GLOBALS['TYPO3_CONF_VARS']['HTTP']['cert'], and also provide the certificate in PEM format.

在此处输入图像描述

The link in the screenshot:
http://docs.guzzlephp.org/en/latest/request-options.html#cert

One reason that your setting $GLOBALS['TYPO3_CONF_VARS']['HTTP']['verify'] is not taken into account is that you have to clear the cache before the update perhaps.

Beside that, if the problem is only remarkable when you try to upgrade, you could do the upgrade manually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM