Skip to content

Commit ad7040d

Browse files
committed
clarify client certificate docs
1 parent b370cc5 commit ad7040d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Enable TLS by calling `SetUseSsl(true)`. The C# client uses the .NET certificate
7070
| keytool artifact | C# client usage |
7171
| --- | --- |
7272
| `ca.crt` | Pass to `SetRootCertificatePath` / `RootCertificatePath` to trust the server certificate |
73-
| `client.keystore` | Contains the client private key and certificate chain; JDK 17 creates PKCS#12 by default, so pass it directly to `SetClientCertificatePath` |
73+
| `client.keystore` | Contains the client private key and client certificate; JDK 17 creates PKCS#12 by default, so pass it directly to `SetClientCertificatePath` |
7474
| `client.truststore` | Java client truststore; the C# client uses `ca.crt` instead |
7575
| `server.truststore` | Server-side truststore for trusting client certificates; not a C# client option |
7676

README_ZH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dotnet add package Apache.IoTDB
6868
| keytool 产物 | C# 客户端用法 |
6969
| --- | --- |
7070
| `ca.crt` | 传给 `SetRootCertificatePath` / `RootCertificatePath`,用于信任服务端证书 |
71-
| `client.keystore` | 包含客户端私钥和证书链;JDK 17 默认是 PKCS#12,直接传给 `SetClientCertificatePath` |
71+
| `client.keystore` | 包含客户端私钥和客户端证书;JDK 17 默认是 PKCS#12,直接传给 `SetClientCertificatePath` |
7272
| `client.truststore` | Java 客户端的 truststore;C# 侧用 `ca.crt`,不需要这个文件 |
7373
| `server.truststore` | 服务端用于信任客户端证书,不是 C# 客户端参数 |
7474

0 commit comments

Comments
 (0)