I'm encrypting login information over a secure EJB that has been working fine under 3.2.3. Today I updated the keystore file to change the hostname, and am getting an "algorithm missing" SSLException. I suspect that the default encryption algorithm may have changed since I generated the last keystore (currently using keeytool on Sun 1.4.2_04); however, I cannot see where to change the algorithm and I am not specifiying any algorithm (that I know of) in jboss.
Any suggestions on how to determine which algorithm is being used and how to make sure jboss has that algorithm in the classpath? Thanks
<mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL"> <constructor> <arg type="java.lang.String" value="RMI+SSL"/> </constructor> <attribute name="KeyStoreURL">MyKeystore.keystore</attribute> <attribute name="KeyStorePass">MyPassword</attribute> </mbean>
There is a -keyalg RSA switch that fixes the problem. Thanks