Since 1 or 2 days my old php container (dockerhub php:5.4-apache) can’t use curl anymore. this is the log when running curl inside this container. This same call works on a modern (updated) OS. Answer the reason is cacerts of the os are outdated To update them you need to do the following other option : best option (imho) :