Buenas de nuevo, he realizado varias pruebas en curl.exe y funciona correctamente.
En curl.exe se puede desactivar la comprobación de certificados con el parametro:
-k --insecure
Las pruebas sin el parametro, en una fecha avanzada, da error por certificado ssl caducado.
En el manual de curl.exe dice esto:
-k --insecure
(TLS) By default, every SSL connection curl makes is verified to
be secure. This option allows curl to proceed and operate even
for server connections otherwise considered insecure.
The server connection is verified by making sure the server's
certificate contains the right name and verifies successfully
using the cert store.
See this online resource for further details:
https://curl.se/docs/sslcerts.html
See also --proxy-insecure and --cacert.
Para el curl de las las apis debe ser una opción parecida para poner a false la comprobación.
Saludos