|
Title: Keystores/Certificates -- failed to extract any certificates or private keys Post by: Philippe Camus on June 19, 2008, 07:00:35 pm Hi,
This seems to be a recurrent issue... however I couldn't find a complete solution in the forums. I found a topic on Sourceforge with the same problem but the solution (same password for keystore and priavte key) didn't make any sense. http://sourceforge.net/forum/message.php?msg_id=4683168 I have created a keystore with the following command: keytool -genkey -keyalg RSA -keystore test_keystore.jks -storepass asdf321 -alias test_key -keypass test_key_password -dname "CN=Test, OU=IHC, C=US" -keysize 1024 -validity 1460 When importing it in SoapUI, it gives me an error: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big. (BC as a provider gives another message: java.io.IOException: stream does not represent a PKCS12 key store) In the console: KeyStoreException: failed to extract any certificates or private keys I used the JRE provided with SoapUI 2.0.2 Pro as well as another JDK, with no success in both cases. Any idea? Thanks! Phil Title: Re: Keystores/Certificates -- failed to extract any certificates or private keys Post by: omatzura on June 19, 2008, 07:25:21 pm Hi Phil,
thanks for reporting, I'll dig in and will get back to you.. regards! /Ole eviware.com Title: Re: Keystores/Certificates -- failed to extract any certificates or private keys Post by: omatzura on June 19, 2008, 08:17:19 pm Hi,
ok.. this will be fixed in 2.X.. are you specifying the keystore at the global level or at the WS-Security configuration level? If you want I can provide you with a pre-release.. send me an email in that case (ole@eviware.com) regards! /Ole eviware.com |