当前位置: 技术问答>java相关
谁有keytool的中文文档?
来源: 互联网 发布时间:2015-03-30
本文导语: | keytool 用来创建keystore和keys。其中keystore将用来存放密匙(private keys)和公共钥匙的认证,此命令生成了一个名为Test.keystore的keystore文件. keytool -genkey -dname "CN=Fan Gang, OU=FG, O=FG, L=FG, S=FG, C=US" -keystore Test.keysto...
|
keytool 用来创建keystore和keys。其中keystore将用来存放密匙(private keys)和公共钥匙的认证,此命令生成了一个名为Test.keystore的keystore文件.
keytool -genkey -dname "CN=Fan Gang, OU=FG, O=FG, L=FG, S=FG, C=US" -keystore Test.keystore -storepass 11252365 -keypass 11252365 -alias Test
CN=commonName
OU=organizationUnit
O=organizationName
L=localityName
S=stateName
C=country
-dname "CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino, S=California, C=US"
If a distinguished name string value contains a comma, the comma must be escaped by a "" character when you specify the string on a command line
-storepass public key, storepass must be at least 6 characters long.
-keypass private key
-keystore the keystore's place
print out the contents of a keystore entry
keytool -list -alias myalias
keytool -genkey -dname "CN=Fan Gang, OU=FG, O=FG, L=FG, S=FG, C=US" -keystore Test.keystore -storepass 11252365 -keypass 11252365 -alias Test
CN=commonName
OU=organizationUnit
O=organizationName
L=localityName
S=stateName
C=country
-dname "CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino, S=California, C=US"
If a distinguished name string value contains a comma, the comma must be escaped by a "" character when you specify the string on a command line
-storepass public key, storepass must be at least 6 characters long.
-keypass private key
-keystore the keystore's place
print out the contents of a keystore entry
keytool -list -alias myalias
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。