Skip to content

Commit 060735d

Browse files
author
Paultagoras
committed
Update jdbc-v1.md
1 parent 33952fe commit 060735d

File tree

1 file changed

+10
-10
lines changed
  • docs/en/integrations/language-clients/java

1 file changed

+10
-10
lines changed

docs/en/integrations/language-clients/java/jdbc-v1.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ try (PreparedStatement stmt = conn.prepareStatement(
264264

265265
## Configuring HTTP library
266266

267-
The ClickHouse JDBC connector supports three HTTP libraries: [HttpClient](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html), [HttpURLConnection](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html), and [Apache HttpClient](https://hc.apache.org/httpcomponents-client-5.2.x/).
267+
The ClickHouse JDBC connector supports three HTTP libraries: [`HttpClient`](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html), [`HttpURLConnection`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/HttpURLConnection.html), and [Apache `HttpClient`](https://hc.apache.org/httpcomponents-client-5.2.x/).
268268

269269
:::note
270270
`HttpClient` is only supported in JDK 11 or above.
@@ -292,15 +292,15 @@ To establish a secure JDBC connection to ClickHouse using SSL, you need to confi
292292

293293
## SSL Properties
294294

295-
| Name | Default Value | Optional Values | Description |
296-
| ------------------ | ------------- | --------------- |------------------------------------------------------------------------------|
297-
| `ssl` | false | true, false | Whether to enable SSL/TLS for the connection |
298-
| `sslmode` | strict | strict, none | Whether to verify SSL/TLS certificate |
299-
| `sslrootcert` | | | Path to SSL/TLS root certificates |
300-
| `sslcert` | | | Path to SSL/TLS certificate |
301-
| `sslkey` | | | RSA key in PKCS#8 format |
302-
| `key_store_type` | | JKS, PKCS12 | Specifies the type or format of the `KeyStore`/`TrustStore` file |
303-
| `trust_store` | | | Path to the Truststore file |
295+
| Name | Default Value | Optional Values | Description |
296+
| ------------------ | ------------- | --------------- |----------------------------------------------------------------------------------|
297+
| `ssl` | false | true, false | Whether to enable SSL/TLS for the connection |
298+
| `sslmode` | strict | strict, none | Whether to verify SSL/TLS certificate |
299+
| `sslrootcert` | | | Path to SSL/TLS root certificates |
300+
| `sslcert` | | | Path to SSL/TLS certificate |
301+
| `sslkey` | | | RSA key in PKCS#8 format |
302+
| `key_store_type` | | JKS, PKCS12 | Specifies the type or format of the `KeyStore`/`TrustStore` file |
303+
| `trust_store` | | | Path to the `TrustStore` file |
304304
| `key_store_password` | | | Password needed to access the `KeyStore` file specified in the `KeyStore` config |
305305

306306
These properties ensure that your Java application communicates with the ClickHouse server over an encrypted connection, enhancing data security during transmission.

0 commit comments

Comments
 (0)