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


Solutions on the web

Solution icon of github
via GitHub by tameraw
, 9 months ago
Could not parse certificate: java.io.IOException: Incomplete data

Solution icon of github
via GitHub by dluc
, 10 months ago
Could not parse certificate: java.io.IOException: Incomplete data

Solution icon of coderanch
Could not parse certificate: java.io.IOException: Empty input

Solution icon of stackoverflow
Could not parse certificate: java.io.IOException: Empty input

Solution icon of github
Could not parse certificate: java.io.IOException: Empty input

Solution icon of stackoverflow
Could not parse certificate: java.io.IOException: Empty input

Solution icon of web
Could not parse certificate: java.io.IOException: Empty input

Solution icon of github
via GitHub by jaryn
, 1 year ago
Could not parse certificate: java.io.IOException: Empty input

Solution icon of github
via GitHub by umbros
, 1 week ago
Could not parse certificate: java.io.IOException: Empty input

Solution icon of github
Could not parse certificate: java.io.IOException: Empty input

Stack trace

java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Incomplete data
	at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:110)
	at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)
	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.engine.impl.TransportImpl.capacity(TransportImpl.java:1428)
	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.engine.impl.EventImpl.dispatch(EventImpl.java:108)
	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)
Caused by: java.io.IOException: Incomplete data
	at sun.security.provider.X509Factory.readOneBlock(X509Factory.java:612)
	at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:96)
	... 26 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates