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. ,
    via Stack Overflow by Kevin

    If you are using maven you'd like to exclude your binaries from filtering process.

  2. ,
    Expert tip

    Java Keytool doesn't accept PEM files, you need to convert it to Der before: "openssl x509 -outform der -in certificate.pem -out certificate.der" and to import it to the keystore "keytool -import -alias your-alias -keystore cacerts -file certificate.der"

Solutions on the web

via Google Groups by Maciej Gawinecki, 1 year ago
Keystore was tampered with, or password was incorrect
via GitHub by chendongcheng
, 11 months ago
Keystore was tampered with, or password was incorrect
via Stack Overflow by Valter Henrique
, 1 year ago
Keystore was tampered with, or password was incorrect
via Server Fault by Tom Tom
, 4 days ago
Keystore was tampered with, or password was incorrect
via GitHub by mskd12
, 10 months ago
Keystore was tampered with, or password was incorrect
via Google Groups by Pranav K, 1 year ago
Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780)	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)	at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:225)	at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)	at java.security.KeyStore.load(KeyStore.java:1445)	at undefined.java_security_KeyStore$load$1.call(Unknown Source)	at com.jayway.restassured.internal.TrustAndKeystoreSpecImpl$_createStore_closure1.doCall(TrustAndKeystoreSpecImpl.groovy:93)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.Closure.call(Closure.java:426)	at groovy.lang.Closure.call(Closure.java:442)	at org.codehaus.groovy.runtime.IOGroovyMethods.withStream(IOGroovyMethods.java:1207)	at org.codehaus.groovy.runtime.ResourceGroovyMethods.withInputStream(ResourceGroovyMethods.java:1674)	at org.codehaus.groovy.runtime.dgm$1019.invoke(Unknown Source)	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)	at com.jayway.restassured.internal.TrustAndKeystoreSpecImpl.createStore(TrustAndKeystoreSpecImpl.groovy:92)	at com.jayway.restassured.internal.TrustAndKeystoreSpecImpl$createStore.callCurrent(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)	at com.jayway.restassured.internal.TrustAndKeystoreSpecImpl.apply(TrustAndKeystoreSpecImpl.groovy:49)	at com.jayway.restassured.internal.http.AuthConfig.certificate(AuthConfig.java:125)	at com.jayway.restassured.internal.http.AuthConfig$certificate.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at com.jayway.restassured.authentication.CertAuthScheme.authenticate(CertAuthScheme.groovy:39)	at com.jayway.restassured.authentication.AuthenticationScheme$authenticate.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)	at com.jayway.restassured.internal.RequestSpecificationImpl.sendRequest(RequestSpecificationImpl.groovy:1144)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1210)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)	at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)	at com.jayway.restassured.internal.filter.SendRequestFilter.filter(SendRequestFilter.groovy:30)	at com.jayway.restassured.filter.Filter$filter$0.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)	at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:73)	at com.jayway.restassured.filter.time.TimingFilter.filter(TimingFilter.java:56)	at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)	at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:73)	at com.jayway.restassured.filter.log.StatusCodeBasedLoggingFilter.filter(StatusCodeBasedLoggingFilter.java:94)	at com.jayway.restassured.filter.log.ResponseLoggingFilter.filter(ResponseLoggingFilter.java:31)	at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)	at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:73)	at com.jayway.restassured.filter.log.RequestLoggingFilter.filter(RequestLoggingFilter.java:101)	at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)	at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:73)	at com.jayway.restassured.filter.FilterContext$next.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)	at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1596)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1210)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)	at com.jayway.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)	at com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:160)	at com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy)