Files
DeepRoboticsLab-S10-proto/certs/client_tls.conf
T
caowangrenbo 9b30ce4480 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.
2026-10-29 20:50:21 +08:00

27 lines
654 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Android 客户端 TLS/DTLS 加密通信配置文件
[global]
role = "client"
verify_peer = true
security_level = 1
hw_accel = false
secure_memory = false
[certificates]
# 文件身份模式必须显式声明 source="file" + allow_file_identity=true
# Android 默认身份源为 android_keystore,文件私钥模式需强制开启
source = "file"
allow_file_identity = true
# 运行时路径由 App 在代码中动态设置(从 assets 复制到 filesDir/certs/)
cert_file = client_chain.crt
key_file = client.key
ca_file = root_ca.crt
[tcp]
keepalive_interval = 30
nodelay = true
[udp]
mtu = 1500
cookie_verify = true