java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Incomplete data

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tameraw
, 1 year ago
Could not parse certificate: java.io.IOException: Incomplete data
via GitHub by dluc
, 1 year ago
Could not parse certificate: java.io.IOException: Incomplete data
via Stack Overflow by B B
, 10 months ago
Could not parse certificate: java.io.IOException: Invalid BER/DER data (too huge?)
via Stack Overflow by Christian
, 2 years ago
Unable to initialize, java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big. at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:199)
via Stack Overflow by tree
, 6 months ago
Could not parse certificate: java.io.IOException: Empty input
via Stack Overflow by tree
, 6 months ago
Could not parse certificate: java.io.IOException: Empty input
java.io.IOException: Incomplete data
at sun.security.provider.X509Factory.readOneBlock(X509Factory.java:612)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:96)
at org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory.readCertificate(SslEngineFacadeFactory.java:433)
at org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory.createKeyStoreFrom(SslEngineFacadeFactory.java:335)
at org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory.getOrCreateSslContext(SslEngineFacadeFactory.java:280)
at org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory.createAndInitialiseSslEngine(SslEngineFacadeFactory.java:207)
at org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory.createProtonSslEngine(SslEngineFacadeFactory.java:184)
at org.apache.qpid.proton.engine.impl.ssl.SslDomainImpl.createSslEngine(SslDomainImpl.java:132)
at org.apache.qpid.proton.engine.impl.ssl.SslImpl$UnsecureClientAwareTransportWrapper.initTransportWrapperOnFirstIO(SslImpl.java:231)
at org.apache.qpid.proton.engine.impl.ssl.SslImpl$UnsecureClientAwareTransportWrapper.capacity(SslImpl.java:108)
at org.apache.qpid.proton.reactor.impl.IOHandler.capacity(IOHandler.java:172)
at org.apache.qpid.proton.reactor.impl.IOHandler.update(IOHandler.java:204)
at org.apache.qpid.proton.reactor.impl.IOHandler.selectableTransport(IOHandler.java:329)
at org.apache.qpid.proton.reactor.impl.IOHandler.handleBound(IOHandler.java:166)
at org.apache.qpid.proton.reactor.impl.IOHandler.onUnhandled(IOHandler.java:372)
at org.apache.qpid.proton.engine.BaseHandler.onConnectionBound(BaseHandler.java:58)
at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:131)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:277)
at com.microsoft.azure.iothub.transport.amqps.IotHubReactor.run(IotHubReactor.java:26)
at com.microsoft.azure.iothub.transport.amqps.AmqpsIotHubConnection$ReactorRunner.call(AmqpsIotHubConnection.java:861)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.