Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yukun committed Aug 22, 2020
1 parent b3e0088 commit 7246a3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

软件许可应用WebApp

1、首先要用KeyTool工具来生成私匙库:(-alias别名 –validity 3650表示10年有效)
1、首先要用KeyTool工具来生成私钥库:(-alias别名 –validity 3650表示10年有效)
keytool -genkey -alias privatekeys -keysize 1024 -keystore privateKeys.store -validity 3650

2、然后把私匙库内的公匙导出到一个文件当中
2、然后把私钥库内的公钥导出到一个文件当中
keytool -export -alias privatekeys -file certfile.cer -keystore privateKeys.store

3、然后再把这个证书文件导入到公匙库
3、然后再把这个证书文件导入到公钥库
keytool -import -alias publiccert -file certfile.cer -keystore publicCerts.store

最后生成文件privateKeys.store、publicCerts.store拷贝出来备用。
Expand Down

0 comments on commit 7246a3e

Please sign in to comment.