javax.net.ssl.SSLProtocolException: The certificate chain length (11) exceeds the maximum allowed length (10)
问题 I'm struggling since my java MVC web application started throwing an exception when trying to create a WebService that has an specific https address (https://barramento.caixa.gov.br/sibar/ManutencaoCobrancaBancaria/Boleto/Externo?xsd=xsd0). After enabling the javax.net.debug I figured out that the root cause of the problem seems to be the length of the certificate chain of the server application where I'm trying to connect to. In a first moment, I suspected from the TLS version, but using