MOMENTO CONTÁBEIS

Calendário do Esocial alterado|Pequenas empresas gerando empregos|Grandes novidades tecnológicas

Contábeis o portal da profissão contábil

15
Oct 2018
18:38

BUSCAR NO FÓRUM

buscar


NF-e 4.0 Erro Inesperado

7respostas
1.319acessos
  

Marina

Usuário Ativo

profissãoAdministrador(a)
mensagens114
pontos727
membro desde19/07/2013
cidadeUba - MG
Postada:Sexta-Feira, 10 de agosto de 2018 às 08:38:03
Bom dia amigos,
Estou sem saber o que fazer, preciso emitir uma NF-e urgente, é o emissor 4.0 apresenta o erro abaixo:
Já mexi em diversas configurações do JAVA não sei mais o que posso fazer, alguém mais com esse problema? Como resolveram?

nested exception is:
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify Problema não mapeado
AxisFault
faultCode: {http://www.w3.org/2003/05/soap-envelope}server.userexception
faultSubcode:
faultString: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stacktrace:javax.net.ssl.sslexception: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at sun.security.ssl.SSLSocketImpl.checkWrite(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:506)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2110)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1088)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at br.com.sebraesp.ws .nfe. autorizacao.NFeAutorizacao4Soap12_BindingStub.nfeAutorizacaoLote(NFeAutorizacao4Soap12_BindingStub.java:175)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.d(WSBusiness.java:219)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.servico(WSBusiness.java:91)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:829)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.CGLIB$transmitir$7(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476$$FastClassByCGLIB$$f05ce1d0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.transmitir(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:762)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.CGLIB$transmitir$8(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476$$FastClassByCGLIB$$f05ce1d0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.transmitir(<generated>)
at br.gov.sp.fazenda.dsen.model.facade.NotaFiscalFacade.transmitirNotaFiscal(NotaFiscalFacade.java:729)
at br.gov.sp.fazenda.dsen.controller.EnviarNotaFiscalController$1.doInBackground(EnviarNotaFiscalController.java:115)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
at org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at java.io.OutputStreamWriter.flush(Unknown Source)
at java.io.PrintWriter.flush(Unknown Source)
at java.io.BufferedWriter.flush(Unknown Source)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.Message.writeTo(Message.java:539)
at org.apache.axis.transport.http.CommonsHTTPSender$MessageRequestEntity.writeRequest(CommonsHTTPSender.java:841)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
... 38 more
Caused by: java.security.InvalidKeyException: RSA key must be at most 0 bits
at sun.security.pkcs11.P11Signature.checkKeySize(P11Signature.java:366)
at sun.security.pkcs11.P11Signature.engineInitSign(P11Signature.java:430)
at java.security.SignatureSpi.engineInitSign(Unknown Source)
at java.security.Signature$Delegate.init(Unknown Source)
at java.security.Signature$Delegate.chooseProvider(Unknown Source)
at java.security.Signature$Delegate.engineInitSign(Unknown Source)
at java.security.Signature.initSign(Unknown Source)
at sun.security.ssl.HandshakeMessage$CertificateVerify.<init>(Unknown Source)
... 61 more

{http://xml.apache.org/axis/}hostname:cliente07-pc

javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:301)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at br.com.sebraesp.ws .nfe. autorizacao.NFeAutorizacao4Soap12_BindingStub.nfeAutorizacaoLote(NFeAutorizacao4Soap12_BindingStub.java:175)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.d(WSBusiness.java:219)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.servico(WSBusiness.java:91)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:829)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.CGLIB$transmitir$7(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476$$FastClassByCGLIB$$f05ce1d0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.transmitir(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:762)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.CGLIB$transmitir$8(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476$$FastClassByCGLIB$$f05ce1d0.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$694aa476.transmitir(<generated>)
at br.gov.sp.fazenda.dsen.model.facade.NotaFiscalFacade.transmitirNotaFiscal(NotaFiscalFacade.java:729)
at br.gov.sp.fazenda.dsen.controller.EnviarNotaFiscalController$1.doInBackground(EnviarNotaFiscalController.java:115)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at sun.security.ssl.SSLSocketImpl.checkWrite(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:506)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2110)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1088)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
... 32 more
Caused by: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
at org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at java.io.OutputStreamWriter.flush(Unknown Source)
at java.io.PrintWriter.flush(Unknown Source)
at java.io.BufferedWriter.flush(Unknown Source)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.Message.writeTo(Message.java:539)
at org.apache.axis.transport.http.CommonsHTTPSender$MessageRequestEntity.writeRequest(CommonsHTTPSender.java:841)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
... 38 more
Caused by: java.security.InvalidKeyException: RSA key must be at most 0 bits
at sun.security.pkcs11.P11Signature.checkKeySize(P11Signature.java:366)
at sun.security.pkcs11.P11Signature.engineInitSign(P11Signature.java:430)
at java.security.SignatureSpi.engineInitSign(Unknown Source)
at java.security.Signature$Delegate.init(Unknown Source)
at java.security.Signature$Delegate.chooseProvider(Unknown Source)
at java.security.Signature$Delegate.engineInitSign(Unknown Source)
at java.security.Signature.initSign(Unknown Source)
at sun.security.ssl.HandshakeMessage$CertificateVerify.<init>(Unknown Source)
... 61 more
Tomas Andriotti

Usuário Novo

profissãoAnalista Tecnologia
mensagens3
pontos50
membro desde10/08/2018
cidadeFlorida Paulista - SP
Postada:Sexta-Feira, 10 de agosto de 2018 às 12:36:34
Mensagem Editada por Tomas Andriotti em 10/08/2018 12:40:35

1 pessoa aprovou esta mensagem.

Marina

Usuário Ativo

profissãoAdministrador(a)
mensagens114
pontos727
membro desde19/07/2013
cidadeUba - MG
Postada:Sexta-Feira, 10 de agosto de 2018 às 16:50:44
ja fiz isso tudo, fiz de novo. O erro agora é esse :
; nested exception is:
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify Problema não mapeado
AxisFault
faultCode: {http://www.w3.org/2003/05/soap-envelope}server.userexception
faultSubcode:
faultString: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stacktrace:javax.net.ssl.sslexception: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at sun.security.ssl.SSLSocketImpl.checkWrite(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:506)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2110)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1088)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at br.com.sebraesp.ws .nfe. autorizacao.NFeAutorizacao4Soap12_BindingStub.nfeAutorizacaoLote(NFeAutorizacao4Soap12_BindingStub.java:175)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.d(WSBusiness.java:219)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.servico(WSBusiness.java:91)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:829)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.CGLIB$transmitir$5(&lt;generated&gt;)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f$$FastClassByCGLIB$$df9dce8b.invoke(&lt;generated&gt;)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.transmitir(&lt;generated&gt;)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:762)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.CGLIB$transmitir$6(&lt;generated&gt;)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f$$FastClassByCGLIB$$df9dce8b.invoke(&lt;generated&gt;)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.transmitir(&lt;generated&gt;)
at br.gov.sp.fazenda.dsen.model.facade.NotaFiscalFacade.transmitirNotaFiscal(NotaFiscalFacade.java:729)
at br.gov.sp.fazenda.dsen.controller.EnviarNotaFiscalController$1.doInBackground(EnviarNotaFiscalController.java:115)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
at org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at java.io.OutputStreamWriter.flush(Unknown Source)
at java.io.PrintWriter.flush(Unknown Source)
at java.io.BufferedWriter.flush(Unknown Source)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.Message.writeTo(Message.java:539)
at org.apache.axis.transport.http.CommonsHTTPSender$MessageRequestEntity.writeRequest(CommonsHTTPSender.java:841)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
... 38 more
Caused by: java.security.InvalidKeyException: RSA key must be at most 0 bits
at sun.security.pkcs11.P11Signature.checkKeySize(P11Signature.java:366)
at sun.security.pkcs11.P11Signature.engineInitSign(P11Signature.java:430)
at java.security.SignatureSpi.engineInitSign(Unknown Source)
at java.security.Signature$Delegate.init(Unknown Source)
at java.security.Signature$Delegate.chooseProvider(Unknown Source)
at java.security.Signature$Delegate.engineInitSign(Unknown Source)
at java.security.Signature.initSign(Unknown Source)
at sun.security.ssl.HandshakeMessage$CertificateVerify.&lt;init&gt;(Unknown Source)
... 61 more

{http://xml.apache.org/axis/}hostname:cliente07-pc

javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:301)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at br.com.sebraesp.ws .nfe. autorizacao.NFeAutorizacao4Soap12_BindingStub.nfeAutorizacaoLote(NFeAutorizacao4Soap12_BindingStub.java:175)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.d(WSBusiness.java:219)
at br.gov.sp.fazenda.dsen.model.business.WSBusiness.servico(WSBusiness.java:91)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:829)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.CGLIB$transmitir$5(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f$$FastClassByCGLIB$$df9dce8b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.transmitir(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:762)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.CGLIB$transmitir$6(<generated>)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f$$FastClassByCGLIB$$df9dce8b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsen.model.business.TransmissorBusiness$$EnhancerByCGLIB$$b3dc933f.transmitir(<generated>)
at br.gov.sp.fazenda.dsen.model.facade.NotaFiscalFacade.transmitirNotaFiscal(NotaFiscalFacade.java:729)
at br.gov.sp.fazenda.dsen.controller.EnviarNotaFiscalController$1.doInBackground(EnviarNotaFiscalController.java:115)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at sun.security.ssl.SSLSocketImpl.checkWrite(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:506)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2110)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1088)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
... 32 more
Caused by: javax.net.ssl.SSLHandshakeException: Error signing certificate verify
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
at org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at java.io.OutputStreamWriter.flush(Unknown Source)
at java.io.PrintWriter.flush(Unknown Source)
at java.io.BufferedWriter.flush(Unknown Source)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
at org.apache.axis.Message.writeTo(Message.java:539)
at org.apache.axis.transport.http.CommonsHTTPSender$MessageRequestEntity.writeRequest(CommonsHTTPSender.java:841)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
... 38 more
Caused by: java.security.InvalidKeyException: RSA key must be at most 0 bits
at sun.security.pkcs11.P11Signature.checkKeySize(P11Signature.java:366)
at sun.security.pkcs11.P11Signature.engineInitSign(P11Signature.java:430)
at java.security.SignatureSpi.engineInitSign(Unknown Source)
at java.security.Signature$Delegate.init(Unknown Source)
at java.security.Signature$Delegate.chooseProvider(Unknown Source)
at java.security.Signature$Delegate.engineInitSign(Unknown Source)
at java.security.Signature.initSign(Unknown Source)
at sun.security.ssl.HandshakeMessage$CertificateVerify.<init>(Unknown Source)
... 61 more



Nao sei mais o que fazer.
Tomas Andriotti

Usuário Novo

profissãoAnalista Tecnologia
mensagens3
pontos50
membro desde10/08/2018
cidadeFlorida Paulista - SP
Postada:Segunda-Feira, 13 de agosto de 2018 às 10:47:42
Mensagem Editada por Tomas Andriotti em 13/08/2018 10:48:50
Pelo que andei verificando este erro é causado pela configuração/suporte ao Protocolo TLS
Pode ser que a versão que em uso em sua máquina não da suporte.

Instale o novo java e tente novamente. (removendo os anteriores)
ou verifique se seu SO tem suporte para este protocolo.
Emerson Santos

Usuário Ativo

profissãoSócio(a) Comercial
mensagens101
pontos762
membro desde25/04/2012
cidadeAnanindeua - PA
Postada:Terça-Feira, 14 de agosto de 2018 às 16:33:33
Marin G. , como vai? Tenho resolvido vários problemas de clientes usuários do emissor do Sebrae. Se precisar de suporte, estou à disposição.

Grande abraço!

Prestar Tecnologia
Verse Contabilidade
Especialista em Contabilidade Digital
Projeto SPED e sua ramificações
Conheça Softwares de Gestão Para Seu Negócio
prestar.adm@gmail.com / (91) 99114-6198
Marina

Usuário Ativo

profissãoAdministrador(a)
mensagens114
pontos727
membro desde19/07/2013
cidadeUba - MG
Postada:Quinta-Feira, 23 de agosto de 2018 às 14:38:41
Emerson, agora consegui.

Fiz uma alteração no certificado de acordo com dicas dos nossos colegas.
Agradeço muito sua atenção.

1 pessoa aprovou esta mensagem.

Alex Soares dos Santos

Usuário Novo

profissãoAdvogado(a)
mensagens17
pontos181
membro desde10/08/2009
cidadeSao Paulo - SP
Postada:Quarta-Feira, 3 de outubro de 2018 às 07:54:58
Marina, bom dia.

Estou com o mesmo erro, pode me informar qual foi a alteração que fez no certificado.

Fico no aguardo e lhe agradeço desde já.

1 pessoa aprovou esta mensagem.

Lais

Usuário Novo

profissãoAuxiliar Administrativo
mensagens9
pontos86
membro desde13/06/2017
cidadeSao Paulo - SP
Postada:Terça-Feira, 9 de outubro de 2018 às 17:46:43
Marina,

Por favor, poderia dizer como configurou o certificado A3?

Grata!

Você precisa ser cadastrado para responder mensagens

Receba Novidades

receba novidades sobre o site e o fórum de contabilidade em seu e-mail

POSTS RELACIONADOS

conheça mais

Facebook


x

CADASTRE-SE
GRATUITAMENTE

e faça parte da maior
comunidade contabil
da internet brasileira

x

Faça parte da maior
comunidade da internet
brasileira
, e receba nosso
conteúdo gratuitamente

CADASTRE-SE GRÁTIS

ENVIAR

Ao se cadastrar, você aceita os termos de uso do portal Contábeis.

CADASTRE-SE COM AS REDES SOCIAIS

x

OLÁ ROGÉRIO

vocÊ sabia que você pode
enviar artigos pelo site ?

x

digite seu email ao lado
para receber a senha
em sua caixa de entrada.

RECUPERAR MINHA SENHA

ENVIAR
x

Parabéns!

Veja os próximos passos
para aproveitar tudo o que
preparamos para você.

x

Cadastro efetuado com sucesso !
Enviamos para seu e-mail os procedimentos para confirmação de seu cadastro.
Ele será concluído depois que você fizer a confirmação via e-mail.

Caso não tenha recebido:

* Aguarde mais alguns minutos.
* Verifique sua pasta de spam (ou lixo eletrônico).
* Solicite o reenvio da mensagem de confirmação clicando aqui.

Prezados(as) senhores(as), o Portal Contábeis se isenta de quaisquer responsabilidades civis sobre eventuais discussoes dos usuários ou visitantes deste site, nos termos da lei no 5.250/67 e artigos 927 e 931 ambos do novo código civil brasileiro. Ao acessar este site você concorda com os Termos de uso.

Site desenvolvido por
Julio Guimarães | Rogério César