|
|
# xkl-interface程序说明
|
|
|
|
|
|
## 部署
|
|
|
139.129.166.85
|
|
|
|
|
|
### https证书
|
|
|
|
|
|
生成ssl证书${user.home}/.keystore,其中密码设置为xkl2016:
|
|
|
```
|
|
|
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"
|
|
|
```
|
|
|
查看生成的key
|
|
|
```
|
|
|
keytool -list -v -keystore .keystore -storepass xkl2016
|
|
|
```
|
|
|
139.129.166.85:8090
|
|
|
|
|
|
### 部署
|
|
|
代码
|
...
|
...
|
@@ -24,6 +13,7 @@ cd xkl-interface |
|
|
启动
|
|
|
```
|
|
|
bin/start.sh
|
|
|
bin/start-https.sh
|
|
|
```
|
|
|
停止
|
|
|
```
|
...
|
...
|
@@ -46,7 +36,7 @@ redis.password=r-m5e7cedd3124afd4:XIkaiLURedis2016 |
|
|
```
|
|
|
## 测试swagger界面
|
|
|
浏览器访问:
|
|
|
https://139.129.166.85:8090/
|
|
|
https://www.hanhezy.com:8090/
|
|
|
|
|
|
## 测试用例地址
|
|
|
http://gitlab.hanhezy.com/fyq/xkl-example |
|
|
http://gitlab.hanhezy.com/fyq/xkl-interface-example-all |
...
|
...
|
|