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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064447#4064447

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064447
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to