SSL operation failed with code 1

Thank you Nick for the tips.
Unfortunately none of those helped me to solve to problem.
I tried to update the php 7.4.30 and 8.0.22 following this post How can I manually update downloadable Lightning Services? but nothing changed, still issues with getimagesize()