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

Samebug tips

  1. ,
    Expert tip

    Check your certificates, you need a X.509 certificate pair from the AWS website, you can't make it in the management console. It's in account -> Credentials

Solutions on the web

via Atlassian JIRA by Matthew Hunter, 1 year ago
via Atlassian JIRA by Matthew Hunter, 1 year ago
java.security.cert.CertificateParsingException: invalid DER-encoded certificate data	at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1703)	at sun.security.x509.X509CertImpl.(X509CertImpl.java:301)	at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:104)	at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:305)	at com.amazon.aes.webservices.client.CryptoProxy.getCertByName(CryptoProxy.java:116)	at com.amazon.aes.webservices.client.CryptoProxy.getCertificates(CryptoProxy.java:74)	at com.amazon.aes.webservices.client.CryptoProxy.getCertificates(CryptoProxy.java:76)	at org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:291)	at com.amazon.aes.webservices.client.Jec2Impl.signRequest(Jec2Impl.java:301)	at com.amazon.aes.webservices.client.Jec2Impl.access$000(Jec2Impl.java:97)	at com.amazon.aes.webservices.client.Jec2Impl$1.invoke(Jec2Impl.java:204)	at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)	at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)