Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <[email protected]>
  • Loading branch information
zhaojh329 committed Feb 19, 2021
1 parent d12669a commit 97291a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Use token
$ rttys run -t 34762d07637276694b938d23f10d7164

### mTLS
You can enable mTLS by specifying device CA storage (valid file) in config file or from CLI (variable ssl-devs).
You can enable mTLS by specifying device CA storage (valid file) in config file or from CLI (variable ssl-cacert).
Appending to CA storage is possible on-the-fly, you can reload CA certs by sendig SIGUSR1 signal.
Device(s) without valid CA in storage will be disconnected in TLS handshake.

Expand Down
5 changes: 5 additions & 0 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
statik -src=frontend/dist

## 认证
### Token
生成一个 token

$ rttys token
Expand All @@ -40,6 +41,10 @@

$rttys -t 34762d07637276694b938d23f10d7164

### SSL 双向认证(mTLS)
您可以在配置文件中指定设备 CA 存储(有效文件)或在 CLI 中指定设备 CA 存储(参数 ssl-cacert) 来启用 mTLS。
您可以通过发送 SIGUSR1 信号重新加载 CA 证书。存储中没有有效 CA 的设备将在 TLS 握手中断开连接。

## 作为Linux服务运行
移动rttys可执行程序到/usr/local/bin/

Expand Down

0 comments on commit 97291a2

Please sign in to comment.