自己証明のキーを作る

keytool -genkey -dname "c=JP" -keypass [PASSWORD1] -keystore [KEYNAME].keystore -storepass [PASSWORD2] -validity [10000] -alias [ENTRY] -keyalg RSA



http://d.hatena.ne.jp/ya_ma/20100218/1266504673