Samuel-Oliveira / Java_NFe

Projeto Open Source Java - NFe, NFce
MIT License
576 stars 227 forks source link

Erro ao enviar o lote #164

Closed uilhianet closed 5 years ago

uilhianet commented 5 years ago

org.apache.axis2.AxisFault: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target...

Samuel-Oliveira commented 5 years ago

Beleza? 1º Pra não sujar tanto o visual, eu resumi suas postagem, tranquilo? 2º Toda vez que vc executa, no console mostra as informações da Biblioteca. Pode colocar um print dela aqui?

uilhianet commented 5 years ago

Tranquilho, Obrigado pela dica. Conseguir resolver. CertificadoService.inicializaCertificado(certificado, new FileInputStream(new File("Cacert")));

Samuel-Oliveira commented 5 years ago

Está errado, aqui é o procedimento certo: https://github.com/Samuel-Oliveira/Java_NFe/wiki/01-:-Configuracoes