Forum Discussion

Happy's avatar
Happy
Contributor
9 years ago

[SoapUI] An error occurred [Probably bad PKCS12 password: java.io.IOException

I set SSL Keystore and password programmatically, but I get error message. Password is correct ERROR [SoapUI] An error occurred [Probably bad PKCS12 password: java.io.IOException: failed to decrypt ...
  • Happy's avatar
    9 years ago

    The password should be set first!

    // set
    SoapUI.settings.setString( SSLSettings.KEYSTORE_PASSWORD, keystorePassword )
    SoapUI.settings.setString( SSLSettings.KEYSTORE, pathToKeystore )