header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
January 09, 2009, 01:34:07 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
Keystores/Certificates -- failed to extract any certificates or private keys
Welcome, Guest. Please login or register.
January 09, 2009, 01:34:07 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Keystores/Certificates -- failed to extract any certificates or private keys
« previous next »
Pages: [1] Print
Author Topic: Keystores/Certificates -- failed to extract any certificates or private keys  (Read 389 times)
Philippe Camus
Newbie
*
Posts: 3


« 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
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #1 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
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #2 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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header