-
Notifications
You must be signed in to change notification settings - Fork 7.8k
No releases available for package "pecl.php.net/timezonedb"; pear.php.net certificate still expired #11486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How about now? Are you able to view https://pecl.php.net/package/timezonedb normally? |
@damianwadley I saw that this already happened in https://bugs.php.net/bug.php?id=81355& |
@gouh Yes, there was a very specific problem that happened two years ago, but I wouldn't think that it's related to whatever is happening now. |
@damianwadley Apparently it is a detail with the expiration of the certificate https://bugs.php.net/bug.php?id=81078 |
@damianwadley , in my pipeline and in my local the error still continues. How long does it take to propagate the certificate ? |
For anyone still having problems: do you have OpenSSL 1.1.0 or later? The PECL and PEAR certificates are issued by Let's Encrypt, which had a noteworthy change to its certificates in 2021 that would require clients to update their openssl libraries to at least 1.1.0. (I don't know how old the previous certs were...) <edit> In addition, ensure your system has an updated CA certificates store. </edit> @paulosoares-resale The certificate was applied on the server. There is no propagation required. |
Hey guys I got a response from Derick Rethans.
php/pecl-datetime-timezonedb#8 In my case, I did was download the extension and install it manually, I think there will only be that solution. |
Hey guys.
I cannot install imagemagick right now. I don't know how to install manually without pecl install
Tested rigtht now. 26.06.2023 still we have this problem. |
@kr3niu That is not an option, no. In addition to OpenSSL 1.1.0, you also need Let's Encrypt's root certificate in your local store. Perhaps your ca-certificates (package or equivalent) needs to be updated? |
maybe try this- https://stackoverflow.com/questions/76507083/pecl-install-no-releases-available |
@reinisalpins is a good solution, works for me, thanks! |
@reinisalpins solution work for mee too. Part of my Dockerfile I tried to upgrade certificate CA but this won't fixed me problem. Still produce SSL errors. |
I was able to solve this by removing the offending certificate from the docker image. I'm also on a situation where I cannot upgrade the PHP version and I need timezonedb always up-to-date from PECL. Read libressl/portable#692 (comment) lead to openbsd/src@3c95f6f I then made a grep to see where the cert was on my docker image (php5.6-alpine) and removed it.
Patch
Patch
Then remove the other two files which are the whole cert These are the final dockerfile lines, I left the grep line intentionally to debug this if some file is renamed
|
A quick fix for the official Docker PHP 5.6 image is to delete the DST root CA cert:
That will get If you need |
I don't think there is anything to be done on the PHP side here, so I am closing this issue. |
Give me flak for it, but could I get a |
Today I had the same problem (with
If But we cannot allow certificate outages to disrupt the application. So, if |
Saved my day!! Thank you!! |
I found this on stackoverflow. Finally it solve the problem!
|
Description
Description:
PHP Version
Irrelevant
Operating System
The text was updated successfully, but these errors were encountered: