Hi Colm,

here are the details you asked for. 
Generation commands were as following:

keytool -genkey -alias JJ -keypass JJ-Password -keystore PrivateKeystore.jks
-storepass keyStorePassword -dname "cn=JJ" -keyalg RSA

keytool -selfcert -alias JJ -keypass JJ-Password -keystore
PrivateKeystore.jks -storepass keyStorePassword

keytool -export -alias JJ -file tmpKey.rsa -keystore PrivateKeystore.jks
-storepass keyStorePassword

keytool -import -alias JJ -file tmpKey.rsa -keystore PublicKeystore.jks
-storepass keyStorePassword

Merlin config:

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=keyStorePassword
org.apache.ws.security.crypto.merlin.keystore.alias=JJ
org.apache.ws.security.crypto.merlin.file=PublicKeystore.jks

attaching the public and private keystore

http://www.nabble.com/file/p21724785/PrivateKeystore.jks PrivateKeystore.jks 
http://www.nabble.com/file/p21724785/PublicKeystore.jks PublicKeystore.jks 


Colm O hEigeartaigh wrote:
> 
> 
> Can you attach the keystore, and the Merlin config? How was the keystore
> in question generated, i.e. the exact parameters given to keytool?
> 
> Colm.
> 
> 


-- 
View this message in context: 
http://www.nabble.com/Exception%3A-DerInputStream.getLength%28%29%3A-lengthTag%3D119%2C-too-big-tp21711285p21724785.html
Sent from the WSS4J mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to