mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
18 lines
853 B
XML
18 lines
853 B
XML
|
<clickhouse>
|
||
|
<!-- Native interface with TLS.
|
||
|
You have to configure certificate to enable this interface.
|
||
|
See the openSSL section below.
|
||
|
-->
|
||
|
<tcp_port_secure>9440</tcp_port_secure>
|
||
|
|
||
|
<!-- Used with https_port and tcp_port_secure. Full ssl options list: https://github.com/ClickHouse-Extras/poco/blob/master/NetSSL_OpenSSL/include/Poco/Net/SSLManager.h#L71 -->
|
||
|
<openSSL replace="replace">
|
||
|
<server> <!-- Used for https server AND secure tcp port -->
|
||
|
<certificateFile>/etc/clickhouse-server/config.d/self-cert.pem</certificateFile>
|
||
|
<privateKeyFile>/etc/clickhouse-server/config.d/self-key.pem</privateKeyFile>
|
||
|
<caConfig>/etc/clickhouse-server/config.d/ca-cert.pem</caConfig>
|
||
|
<verificationMode>none</verificationMode>
|
||
|
</server>
|
||
|
</openSSL>
|
||
|
</clickhouse>
|