frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Curl Error 77 on debian 12 (Franken Version 1.7.0)

Open dxofc opened this issue 7 months ago • 7 comments

What happened?

cURL error: 77: error setting certificate file /etc/pki/tls/certs/ca-bundle.crt

only in version 1.7.0

Build Type

Docker (Debian Bookworm)

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

default

Relevant log output


dxofc avatar Jun 03 '25 23:06 dxofc

Please provide some php code to reproduce this.

henderkes avatar Jun 04 '25 05:06 henderkes

was able to figure it out with the code from the other issue, I believe.

henderkes avatar Jun 04 '25 06:06 henderkes

Wait, this is the docker build, then our fix in static-php-cli wouldn't change anything. It would need to be fixed either in the docker image install-php-extension action (if it links curl statically) or by whoever builds the libcurl.so in the debian docker images.

But I can barely imagine they build curl on a rhel system to distribute in docker images...

I think you may have selected the wrong build type @dxofc ?

henderkes avatar Jun 04 '25 15:06 henderkes

Wait, this is the docker build, then our fix in static-php-cli wouldn't change anything. It would need to be fixed either in the docker image install-php-extension action (if it links curl statically) or by whoever builds the libcurl.so in the debian docker images.

But I can barely imagine they build curl on a rhel system to distribute in docker images...

I think you may have selected the wrong build type @dxofc ?

I'm using the binary, I don't use docker.

In other versions it works correctly, only in this new one does this problem occur.

dxofc avatar Jun 04 '25 19:06 dxofc

Okay, then it will be fixed in the next release.

henderkes avatar Jun 05 '25 00:06 henderkes

Even before that because we rebuild the latest tagged binary each night with the latest version of SPC.

dunglas avatar Jun 05 '25 05:06 dunglas

Oh cool, it also tagged the correct .deb and .rpm packages now.

You might want to manually remove the 0.0.0 ones from the last releases.

henderkes avatar Jun 05 '25 07:06 henderkes

@dunglas close, please :)

henderkes avatar Jul 20 '25 06:07 henderkes