生成密匙文件
keytool -genkey -alias ws_security -keypass keypassword -keystore privatestore.jks -storepass keystorepassword -dname "cn=ws_security" -keyalg RSA
keytool -selfcert -alias ws_security -keystore privatestore.jks -storepass keystorepassword -keypass keypassword
keytool -export -alias ws_security -file key.rsa -keystore privatestore.jks -storepass keystorepassword
keytool -import -alias ws_security -file key.rsa -keystore publicstore.jks -storepass keystorepassword
评论13
最新资源