Add demo mTLS client certificates and key

Included at the repository owner's request for demonstration and
integration testing only. Revocable on the robot side; not for
production use.
This commit is contained in:
2026-10-29 20:50:21 +08:00
parent 5e2017de69
commit 9b30ce4480
7 changed files with 208 additions and 5 deletions
+21
View File
@@ -0,0 +1,21 @@
# 演示用客户端证书
本目录包含连接山猫 S10 所需的 mTLS 客户端材料,**按仓库所有者要求随代码提交,
仅用于演示与联调**。这些文件不是生产凭据,仓库所有者可在端侧吊销/更换。
| 文件 | 说明 |
|---|---|
| `client.key` | 客户端私钥,RSA 2048 / PKCS#8 / PEM,无口令保护 |
| `client_chain.crt` | 客户端证书链(client.local ← TLS CA ← Project CA ← Root CA) |
| `root_ca.crt` | 根 CA 证书 |
| `client_tls.conf` | App 内的原始 TLS 配置模板 |
客户端证书有效期至 **2027-04-03**,根 CA 有效期至 2036-03-31。
持有这套材料即可与机器人建立 mTLS 连接并下发控制指令,因此:
- 不要把这些文件用于生产环境;
- 不要放到公开仓库或分发给无关人员;
- 如仓库权限扩大或材料外泄,请在机器人端吊销/更换客户端证书。
用法见上级目录 `README.md`,默认会优先查找本目录下的证书。