0 Replies Latest reply on Dec 18, 2006 9:22 AM by Willy Martinez

    exception unwrapping private key - java.security.InvalidKeyE

    Willy Martinez Newbie

      Hi there,

      I am trying to port BouncyCastle on to JBoss 4.0.4GA. My client code (which is a WSS4J client) works on command line but I get the exception in the subject of this query when I trigger the client from a JSP.

      The bouncy jar bcprov-jdk15-134.jar is in the WEB-INF/lib. The client-config.wsdd, the certificate and the reference to the crypto.properties files are all located under WEb-INF/com.

      The crypto.properties file contain the lines below:

      The client-config.wsdd contains the lines below:

      Axis client config file
      <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

      The installation documentation in JBoss-WS tells me to put the create an entry in the java.security file under jre/lib/security which I have done which is why the command line works.

      Has anyone experienced this?

      I appreciate your help.