Showing
1 changed file
with
2 additions
and
1 deletions
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | 5 | ||
6 | ### https证书 | 6 | ### https证书 |
7 | 7 | ||
8 | -- 生成ssl证书${user.home}/.keystore,其中密码设置为xkl2016: | 8 | +生成ssl证书${user.home}/.keystore,其中密码设置为xkl2016: |
9 | ``` | 9 | ``` |
10 | keytool -genkey -alias xkl-demo -keypass xkl2016 -keyalg RSA -keysize 1024 -validity 1024 -keystore ~/.keystore -storepass xkl2016 -dname "CN=139.129.166.85, OU=hanhezy, O=hanhezy, L=bj, ST=bj, C=cn" | 10 | keytool -genkey -alias xkl-demo -keypass xkl2016 -keyalg RSA -keysize 1024 -validity 1024 -keystore ~/.keystore -storepass xkl2016 -dname "CN=139.129.166.85, OU=hanhezy, O=hanhezy, L=bj, ST=bj, C=cn" |
11 | ``` | 11 | ``` |
@@ -13,6 +13,7 @@ keytool -genkey -alias xkl-demo -keypass xkl2016 -keyalg RSA -keysize 1024 -vali | @@ -13,6 +13,7 @@ keytool -genkey -alias xkl-demo -keypass xkl2016 -keyalg RSA -keysize 1024 -vali | ||
13 | ``` | 13 | ``` |
14 | keytool -list -v -keystore .keystore -storepass xkl2016 | 14 | keytool -list -v -keystore .keystore -storepass xkl2016 |
15 | ``` | 15 | ``` |
16 | + | ||
16 | ### 部署 | 17 | ### 部署 |
17 | 代码 | 18 | 代码 |
18 | ``` | 19 | ``` |
-
Please register or login to post a comment