'Probably bad PKCS12 password: When importing .jks in SoapUI

I'm doing the following to generate Certificates .jks file for Service Testing in SoapUI:

keytool -genkey -alias QACert -keyalg RSA -keystore "C:\QACert.jks" -keysize 2048 -storetype pkcs12 -dname CN=85525456, C=US
        
keytool -certreq -alias QACert -keystore "C:\QACert.jks" -storetype pkcs12 -file "C:\QACert.csr"
    
keytool -import -trustcacerts -alias RootA -file "C:\RootA.cer" -keystore "C:\QACert.jks"
    
keytool -import -trustcacerts -alias RootB -file "C:\RootB.cer" -keystore "C:\QACert.jks"
    
keytool -import -trustcacerts -alias QACert -file "C:\QACert.cer" -keystore "C:\QACert.jks"

All files are named similar but are as per their respective extensions: .csr,.cer,.jks etc.

For each of the Commands in Java Keytool , I have given the password the same : tsomoresvc

However, when I import the .jks file via SoapUI , I get the error :

2022:ERROR:An error occurred [Probably bad PKCS12 password: java.io.IOException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded], see error log for details.

I've used just one password throughout the process, which is : tsomoresvc

What am I missing? Please suggest. Thanks in advance for any help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source