Project

General

Profile

Failed to retrieve the TCToken: Certificate corrupt

Added by Andreas Stolz about 2 months ago

Hello,

I just tried to use Open eCard. Unfortunately it doesn't work:

2024-10-25 10:02:41,893+02 [Thread-10820] ERROR o.o.c.t.ClientCertDefaultTlsClient:-1 - TLS error sent.
2024-10-25 10:02:41,894+02 [Thread-10820] ERROR o.o.c.t.ClientCertDefaultTlsClient:-1 - TLS: Certificate corrupt [bad_certificate=42] --> Failed to read record
org.openecard.bouncycastle.tls.TlsFatalAlert: bad_certificate(42)
at /org.openecard.bouncycastle.tls.TlsUtils.checkSigAlgOfServerCerts(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsUtils.processServerCertificate(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsClientProtocol.handleServerCertificate(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsClientProtocol.handleHandshakeMessage(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsProtocol.processHandshakeQueue(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsProtocol.processRecord(Unknown Source)
at /org.openecard.bouncycastle.tls.RecordStream.readRecord(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsProtocol.safeReadRecord(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsProtocol.blockForHandshake(Unknown Source)
at /org.openecard.bouncycastle.tls.TlsClientProtocol.connect(Unknown Source)
at /org.openecard.httpcore.ResourceContextLoader.getStreamInt(Unknown Source)
at /org.openecard.httpcore.ResourceContextLoader.getStream(Unknown Source)
at /org.openecard.httpcore.ResourceContextLoader.getStream(Unknown Source)
at /org.openecard.binding.tctoken.TCTokenContext.generateTCToken(Unknown Source)
at /org.openecard.binding.tctoken.TCTokenRequest.extractTCTokenContext(Unknown Source)
at /org.openecard.binding.tctoken.TCTokenRequest.extractTCTokenContext(Unknown Source)
at /org.openecard.binding.tctoken.TCTokenRequest.removeTCTokenContext(Unknown Source)
at /org.openecard.binding.tctoken.TCTokenHandler.handleActivate(Unknown Source)
at /org.openecard.addons.activate.ActivateAction.processTcToken(Unknown Source)
at /org.openecard.addons.activate.ActivateAction.processRequest(Unknown Source)
at /org.openecard.addons.activate.ActivateAction.checkRequestParameters(Unknown Source)
at /org.openecard.addons.activate.ActivateAction.execute(Unknown Source)
at /org.openecard.addon.bind.AppPluginActionProxy.execute(Unknown Source)
at /org.openecard.control.binding.http.handler.HttpAppPluginActionHandler.handle(Unknown Source)
at /org.apache.http.protocol.HttpService.doService(Unknown Source)
at /org.apache.http.protocol.HttpService.handleRequest(Unknown Source)
at /org.openecard.control.binding.http.HttpService$1.run(Unknown Source)
2024-10-25 10:02:41,894+02 [Thread-10820] ERROR o.o.addons.activate.ActivateAction:-1 - Failed to retrieve the TCToken.

Any ideas? Thank you,

Andreas