2018-08-10-0308:38:03-03:00
x

FÓRUM CONTÁBEIS

TECNOLOGIA CONTÁBIL

respostas 8

acessos 2.547

NF-e 4.0 Erro Inesperado

há 1 ano Sexta-Feira | 10 agosto 2018 | 08:38

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

há 1 ano Sexta-Feira | 10 agosto 2018 | 12:36
há 1 ano Sexta-Feira | 10 agosto 2018 | 16:50

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.

há 1 ano Segunda-Feira | 13 agosto 2018 | 10:47

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.

há 1 ano Terça-Feira | 14 agosto 2018 | 16: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
Vital 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) 99156-2633
há 1 ano Quinta-Feira | 23 agosto 2018 | 14:38

Emerson, agora consegui.

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

há 2 semanas Segunda-Feira | 4 novembro 2019 | 10:15

Olá, 

Alguém está passando por esse erro de transmissão hoje??

Eu estava emitindo notas tranquilamente, e quando faltava só uma, o sistema começou a dar esse erro...

Jessica da Cruz Alves

"Viva para ser FELIZ, e não viva em VÃO"
RECEBA CONTEÚDO EM SEU EMAIL cadastrar

O Portal Contábeis se isenta de quaisquer responsabilidades civis sobre eventuais discussões 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.