typo3 curl'ssl证书找不到。尽管HTTP验证设置为“ false”

发布于 2025-02-12 17:35:31 字数 785 浏览 0 评论 0 原文

尝试升级typo3或通过后端更新扩展程序时的错误(服务器名称混淆):

typo3_src-10.4.4.26/vendor/guzzlehttp/guzzlehttp/guzzle/src/handler/curlfactory.php line 449

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

配置设置设置时: $ GLOBALS ['typo3_conf_vars'] ['http'] ['http'] ['verify'] = false;

在设置be(localconfiguration.php)之外还尝试了在附加configuration.php中的进一步尝试

。据我了解,带有此设置的SSL证书。我还能做些其他事情来调试或解决此错误吗?

环境信息:

  • Typo3 10.4.26
  • PHP版本7.4.30
  • curl 7.64.0
  • 证书自签名证书证书
  • 服务器:带有Debian GNU/Linux 10(Buster)的Hosteurope Weberver Basic,
    域是默认的HE服务器域,例如“ WP12345678.Server-He.de”

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 e.g. "wp12345678.server-he.de"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悸初 2025-02-19 17:35:31

尝试设置$ GLOBALS ['typo3_conf_vars'] ['http'] ['cert'],并以PEM格式提供证书。

屏幕截图中的链接:

您的设置的一个原因 $ GLOBALS ['TYPO3_CONF_VARS'] ['HTTP'] ['verify'] 不考虑您必须在更新之前清除缓存。

除此之外,如果您的问题只有在您尝试升级时就显着,则可以手动进行升级。

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

enter image description here

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文