1 Reply Latest reply on Jul 16, 2007 9:50 AM by Juergen Zimmermann

    wsse.keystore: How to create?

    Juergen Zimmermann Master

      I extended my app with WS-Security and signatures. Using wsse.keystore and wsse.truststore from the JBossWS examples works fine.

      However, I don't know how to create my own keystore and truststore. I tried these commands -- without success. Any hint is appreciated!

      keytool -genkeypair -alias wsse -keyalg RSA -keysize 2048 -sigalg SHA1withRSA -dname "CN=..." -keypass jbossws -storetype JKS -keystore testKeystore.jks -storepass jbossws -v
      keytool -exportcert -file test.cer -alias wsse -storetype JKS -keystore testKeystore.jks -storepass jbossws -v
      keytool -importcert -alias wsse -file test.cer -keypass jbossws -noprompt -storetype JKS -keystore testTruststore.jks -storepass jbossws -v