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


Solutions on the web1

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

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.