camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ychawla <premiergenerat...@yahoo.com>
Subject Re: XMLSecurity key recovery fails when keystore and key use different passwords
Date Tue, 28 Aug 2012 22:18:53 GMT
Hi Dominik,
I think this is the default behavior in Java.  Whenever I work with
keystores, the keystore password must match the key password.  

This could be due to the KeyManagerFactory implementation:

http://docs.oracle.com/javase/6/docs/api/javax/net/ssl/KeyManagerFactory.html#init%28java.security.KeyStore,%20char[]%29

It only allows for a single password.

Thanks,
Yogesh



--
View this message in context: http://camel.465427.n5.nabble.com/XMLSecurity-key-recovery-fails-when-keystore-and-key-use-different-passwords-tp5718094p5718217.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message