[jboss-user] [JBossWS] - wsse.keystore: How to create?

Juergen.Zimmermann do-not-reply at jboss.com
Mon Jul 16 04:18:51 EDT 2007


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



More information about the jboss-user mailing list