java.io.IOException

PKCS12 key store mac invalid - wrong password or corrupted file.    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)    at java.security.KeyStore.load(KeyStore.java:1185)                               at org.ejbca.core.model.ca.catoken.SoftCAToken.loadKeyStore(SoftCAToken.java:144)                                                                                                                    at org.ejbca.core.model.ca.catoken.SoftCAToken.activate(SoftCAToken.java:119)    at org.ejbca.core.model.ca.catoken.CATokenContainerImpl.activate(CATokenContainerImpl.java:302)                                                                                                      at org.ejbca.core.ejb.ca.caadmin.CAAdminSessionBean.activateCAToken(CAAdminSessionBean.java:3007)                                                                                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                  

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web15256

  • PKCS12 key store mac invalid - wrong password or corrupted file.    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)    at java.security.KeyStore.load(KeyStore.java:1185)                               at
  • PKCS12 key store mac invalid - wrong password or corrupted file.             at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)             at java.security.KeyStore.load(KeyStore.java:1185
  • via mirthcorp.com by Unknown author, 11 months ago
    PKCS12 key store mac invalid - wrong password or corrupted file. at org.bouncycastle.jcajce.provider.keystore.pkcs12.P KCS12KeyStoreSpi.engineLoad(Unknown Source)
  • Stack trace

    • java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)    at java.security.KeyStore.load(KeyStore.java:1185)                               at org.ejbca.core.model.ca.catoken.SoftCAToken.loadKeyStore(SoftCAToken.java:144)                                                                                                                    at org.ejbca.core.model.ca.catoken.SoftCAToken.activate(SoftCAToken.java:119)    at org.ejbca.core.model.ca.catoken.CATokenContainerImpl.activate(CATokenContainerImpl.java:302)                                                                                                      at org.ejbca.core.ejb.ca.caadmin.CAAdminSessionBean.activateCAToken(CAAdminSessionBean.java:3007)                                                                                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    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

    Once, 3 months ago