java.io.IOException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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"

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • toDerInputStream rejects tag type 2
    via by 843811,
    • java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file. at org.bouncycastle.jcajce.provider.keystore.pkcs12.P KCS12KeyStoreSpi.engineLoad(Unknown Source) at java.security.KeyStore.load(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    rp
    1 times, last one,
    iferca
    2 times, last one,
    Unknown visitor1 times, last one,
    33 more bugmates