I tried this scenario, it works as you mentioned workaround via the parameter -certchain, see more from https://github.com/Azure/azure-sdk-for-java/issues/44085#issuecomment-2709511157
-certchain