javax.security.cert.CertificateException

InvocationTargetException: javax.security.cert.CertificateException: invalid DER-encoded certificate data


Solutions on the web2

Solution icon of stackoverflow
via Stack Overflow by Mak
, 6 months ago
InvocationTargetException: javax.security.cert.CertificateException: invalid DER-encoded certificate data

Solution icon of stackoverflow
via Stack Overflow by mike
, 1 year ago
org.apache.harmony.security.asn1.ASN1Exception: ASN.1 UTCTime: wrong format for DER, identifier at [139]

Stack trace

  • javax.security.cert.CertificateException: InvocationTargetException: javax.security.cert.CertificateException: invalid DER-encoded certificate data at javax.security.cert.X509Certificate.getInst(X509Certificate.java:226) at javax.security.cert.X509Certificate.getInstance(X509Certificate.java:186) at atmpinclient.ATMPINClient.encrypt(ATMPINClient.java:33) at atmpinclient.ATMPINClient.main(ATMPINClient.java:26)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.