-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for verify=False ignoring (#421)
* fixed verify=False implementation * fixed flake8 errors * trying to fix build * fixing top-level element usage * fixing build * fixing the build (2) * fixing the build (3) * fixing the build (4) * valgrind config fix * review fixes
- Loading branch information
1 parent
a317102
commit f72db86
Showing
16 changed files
with
173 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[db] | ||
host=localhost | ||
port=9000 | ||
secure_port=9440 | ||
database=test | ||
user=default | ||
password= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-----BEGIN DH PARAMETERS----- | ||
MIICDAKCAgEA66P8i6eWye0lVlAeAxDdF2fqHh93OjEVaiSRwqojyq0L4UeXDPkx | ||
xWtQujZG4xvxyBH9udpqBmtoyNLgMShiMeCEZKQ4YTYOZIEsJU6GxADevDjAArwg | ||
BB3Qri3YL/u3zKxvFd36NIHj5/gOrCoC7c8R2NA8wDIOP+SPD1Tdk7i5yYk1u7SB | ||
m7O2tyK+ZrU4lF6k4lpLryDPjYPavAXia3DXUqCJdAwtqTz/jR3QmuaT1iPENnR7 | ||
/Xgm3JiKQLkOMBJLdLJqL/43KtnRboMhsqjDO4go039GLVSp6yFQ4V/NbuEFKLhH | ||
d4DJJYc3zmS94Oq9UNWDEsokTMAT/4mPpLNVCXOLR4yoaOW5qikq08PytFNV7dKa | ||
Pbbgy6yC/NSt5CB9MfdfY0IU1ddMgE+sBbCBxFCZdXUXx3eNCtziqQLGmg++RjBV | ||
qJgeMqc+dFKkOb6alJNUkO0svuelcjAWVJ0kZ9FIDPb36I8VmEVpxaHB2dRKrQPO | ||
z3Yj4fx7VIMILFg/8Wfm5Vu19BvQRTIpjPdVl3uHs/UyEQSs1g37LnGWCiBN9OhV | ||
uQe4yDVlUficWYmWRF/rwkPL/3cUQrWyQfbzSapGWMLDown7+jcAuXZyZNvskmYB | ||
cgF4BYbEM8cJrlmMbJNYkT522T5mxiiVEMxD6yUIymU586rYWjBOu6cCAQICAgFF | ||
-----END DH PARAMETERS----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDBTCCAe2gAwIBAgIUbWRGuPelwmGh762nyTO5l+IzrVowDQYJKoZIhvcNAQEL | ||
BQAwGTEXMBUGA1UEAwwOdGVzdHMubG9jYWwgQ0EwHhcNMjQwMzAzMTk0MzU2WhcN | ||
MjUwMzAzMTk0MzU2WjAcMRowGAYDVQQDDBFjbGlja2hvdXNlLXNlcnZlcjCCASIw | ||
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANSLt5AVi1uHiU/eg8XsXmWmDnAk | ||
fbRC1jzgfP53jTVJdCBU4dMNdi6lNnnCcuIySx+oOiQZ6OwR2tqs1trwnKxgyqnH | ||
WDexZL04sPlvS8EqD/JiTqQW297YI6ev+1SiChfoF88gH62zInfj4wiLmxw+kJgL | ||
F/zCuIz4oFNs+Eu5XDcB35/Ec1d/1deIQkP6jtyLs+scytME2Oy8kgy8aXU1vf5R | ||
zqgek8sYF4LPwOd3uXnhRAdMs+9kgFUKwN12rin5BviQmuylN3CS0BWflYu4Jnzv | ||
+Fwb5ofCfUvmM6W1WgkSkfwFjCvWeUxZVJZm+BbX6C0tOPjy1oTYtRLhLqkCAwEA | ||
AaNCMEAwHQYDVR0OBBYEFPxxrwgl2071sxoU6HEKgT5pkXr3MB8GA1UdIwQYMBaA | ||
FFgOIk+h1x8iFcZ2wIsf9PMYSdJpMA0GCSqGSIb3DQEBCwUAA4IBAQAggmdsCr/G | ||
ZWe5KMSYK3KSiQHnvAb05uKLL1tP4vb9TGO/ailWBL/b+mH09s8OwEMx68Yo91SR | ||
GtYvF4ri/f4y4sqesmbNoqRD9EdXZhItF/K4WbMIlu0+URP7AIytA2UDk32vhf86 | ||
sHpLV7sbfgFbEWfV5xuWsZeSVJXpiq4HQoJuXoQahHclDOHNPC2NyWLWLKHLLPTJ | ||
LVqtb52/dajVmvX5HiwqSpLt/7XBsYex1IqsI16oouo2oe2FcjIBNK6A5weEGhoZ | ||
n7XgItP7uLqvhUmEcmFB24ts/6FXSc5bxHk0GkQVKT48CvM0UemRgVVRkaywqNNv | ||
Oh9OMh6TqP4h | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIICljCCAX4CAQAwHDEaMBgGA1UEAwwRY2xpY2tob3VzZS1zZXJ2ZXIwggEiMA0G | ||
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDUi7eQFYtbh4lP3oPF7F5lpg5wJH20 | ||
QtY84Hz+d401SXQgVOHTDXYupTZ5wnLiMksfqDokGejsEdrarNba8JysYMqpx1g3 | ||
sWS9OLD5b0vBKg/yYk6kFtve2COnr/tUogoX6BfPIB+tsyJ34+MIi5scPpCYCxf8 | ||
wriM+KBTbPhLuVw3Ad+fxHNXf9XXiEJD+o7ci7PrHMrTBNjsvJIMvGl1Nb3+Uc6o | ||
HpPLGBeCz8Dnd7l54UQHTLPvZIBVCsDddq4p+Qb4kJrspTdwktAVn5WLuCZ87/hc | ||
G+aHwn1L5jOltVoJEpH8BYwr1nlMWVSWZvgW1+gtLTj48taE2LUS4S6pAgMBAAGg | ||
NTAzBgkqhkiG9w0BCQ4xJjAkMCIGA1UdEQQbMBmCEWNsaWNraG91c2Utc2VydmVy | ||
hwR/AAABMA0GCSqGSIb3DQEBCwUAA4IBAQCsVsVB7VAofJUtr3L/hcj/PExccdKf | ||
RYBcZQP3ekdY07V69B/FeLFxDHrWkoWV5vcI8g+87FpEUNR8tn7GrbEtiQe7elxY | ||
kAzddwIlz8YqjeyVyd7FUpUtPts7I9YvglGg/y7yIlGxwvcg8lP+rkC6A6H5Q/tj | ||
zsUMbRZvC84BZIwxswj9yvoQhH79HRUsN8rv3T9as6PwbKKGcRRfPvBBk0T0uecZ | ||
PYFSbpZD9Zt5VLtUy/A/Q5skS8mLUV9/BZk2P/8nTLsZvg+rxSEyDa7d7QP5uNF9 | ||
7jOFh2tF9JOl0yxAWPtAnesiAfA82Y2xeV5GqgwJnPcV2Xhj6VwDBC8F | ||
-----END CERTIFICATE REQUEST----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDUi7eQFYtbh4lP | ||
3oPF7F5lpg5wJH20QtY84Hz+d401SXQgVOHTDXYupTZ5wnLiMksfqDokGejsEdra | ||
rNba8JysYMqpx1g3sWS9OLD5b0vBKg/y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FImqx39ZXx4F3KzmycZxSvRZYFYacA+VRI+OMxeJDNJaNyRVIgqimdFH98Goh4 | ||
DEvnQIh9Zd/lC3YE5anxKbIOJtTgXT1DIkAee7TwGVnV4bsGrNxS6819AoGBALdX | ||
Rk/TYUB8B/2MLkYAJLvw2ZuPt0psN18saLew1ZST7l01EQRU17IvhGO/BZEZodGD | ||
iHDZeEwvPLvOHrLLZByyIlw9trix7jQKCXVYZNcup2ULnUltwOdr5xqpp28j9Ytb | ||
ZZiLfj/TItc0iVZxoczmvbb9YaMhloRHJmcOnmatAoGACljWbDkPeQNF+EH6OoC6 | ||
Eresu12MeQChia7jaXuLm68h4M6CxboZnhqAJRV1x63joZK15eVGxBjg+30Hw2mq | ||
7jKwsDrQLAjgxdMO/vZ+U/lPpqvObKdPZw4Ld6fJ8OcXKxGg/wENu770vVAzxpUr | ||
j64QFrbN/9tlhDGD+xCcuYE= | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDEzCCAfugAwIBAgIUTwSVyR94CL34RTPkujqVP17HOEYwDQYJKoZIhvcNAQEL | ||
BQAwGTEXMBUGA1UEAwwOdGVzdHMubG9jYWwgQ0EwHhcNMjQwMzAzMTk0MTMxWhcN | ||
MjcwMzAzMTk0MTMxWjAZMRcwFQYDVQQDDA50ZXN0cy5sb2NhbCBDQTCCASIwDQYJ | ||
KoZIhvcNAQEBBQADggEPADCCAQoCggEBALzOQgfgDZY+sjPamQp7omKwkKlxEzAq | ||
EdFGXPM2nqbfsCnDxjNmXeEukX9Ml0md4swscKjoqDRamCOwWPGB6IrRTI5SaTOW | ||
wVJLuloN6iworNUECHlKJhE6Fi15r+vXx1wRplucgyGUYY3msz1OQmbegGZyUGV7 | ||
DE4J93RIxeVz8nmmSXydxCiawrp7pb4z1d47uXu9dcgQvjkOQcsl7to0tLjoyFSI | ||
IHYgiFri/X12r16nzVJZCxO6DHFRMOUTrpXbR4qxMMqQsfu1YvXZjSuCdP16Kt4v | ||
gsFkNtw7pIgvtIROq0f+c6rpYRM3wHRH/u9iRxDaiJLUlpM34ntK0h8CAwEAAaNT | ||
MFEwHQYDVR0OBBYEFFgOIk+h1x8iFcZ2wIsf9PMYSdJpMB8GA1UdIwQYMBaAFFgO | ||
Ik+h1x8iFcZ2wIsf9PMYSdJpMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL | ||
BQADggEBAFqIeReZefr9KJRuiDXr7+2unLAKBDTWBmnKsVnP80EgffsV4CE+qMSF | ||
v9Ep3JYDDQXfq0Vm6NJUidTCg7p4JNzr/jy1gPv4lWCYRN4cZkZT1JZ1dXfvm7Ra | ||
ebGQgBrOZ2Q1qBWy4vf9CbAV9T/TrMDC9u7pxX+tpKuS63nLob8tOGxT4iMZqziV | ||
WpvO4haTboz1MiZczwAXXDtyNKL0sTEhmaLe7pURhWSjqngpln3GAvjoyGabCDsU | ||
800IhYps+Y809caZwUz8rLKtTZG3bSg9cvq7qVI2SKeh1BWDbcMejpBuO4/6BHAC | ||
LZU5ylW64KMrv14/4DOcZD/jYEN7DNQ= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC8zkIH4A2WPrIz | ||
2pkKe6JisJCpcRMwKhHRRlzzNp6m37Apw8YzZl3hLpF/TJdJneLMLHCo6Kg0Wpgj | ||
sFjxgeiK0UyOUmkzlsFSS7paDeosKKzVBAh5SiYROhYtea/r18dcEaZbnIMhlG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/ye30QyyqxgXjw5WkWWzufGRtFiJd1Idy | ||
xt9b0XVPTu0nos6ViBazFWzUTCUPI6VG1LwPkHUg/9cE8h8C4WERzKjddwKBgQCL | ||
ZlljJ6sf18Ps9prHDggkplFXhPQyuvRWAG9A6lOOPt4VdZUQQbUp7/fP3vRilrII | ||
/d9mfxQGqVTYnlslKIzVRYIkza1dtZVbaQYNTTeMrhFS3ztcWX9pzJKhhDGSRiOD | ||
xmrA0fxg2gqMYsKHegE59EEppsuQdnba94O/Oj7lSQKBgC7JiZtWS3gfZNtDM+fz | ||
zE4+u2TBQuJYAi4qcJdqXOUkxoPvKO32f4S5dTvsFDQu/6hC+1bjNGN6AlnocyjR | ||
cwNcEuG5U+VN5bRwfBUk50J7++S+OhSJo8LaArk/pm+8l5mwE5Lth9Q0Ieo5YsMX | ||
BEtzCOrLBd5Yv4lqHx0tqbri | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6D6446B8F7A5C261A1EFADA7C933B997E233AD5A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<clickhouse> | ||
<tcp_port_secure>9440</tcp_port_secure> | ||
<openSSL> | ||
<server> | ||
<!-- openssl req -subj "/CN=localhost" -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/clickhouse-server/server.key -out /etc/clickhouse-server/server.crt --> | ||
<certificateFile>/etc/clickhouse-server/certs/server.crt</certificateFile> | ||
<privateKeyFile>/etc/clickhouse-server/certs/server.key</privateKeyFile> | ||
<!-- openssl dhparam -out /etc/clickhouse-server/dhparam.pem 4096 --> | ||
<dhParamsFile>/etc/clickhouse-server/certs/dhparam.pem</dhParamsFile> | ||
<verificationMode>none</verificationMode> | ||
<caConfig>/etc/clickhouse-server/certs/tests_ca.crt</caConfig> | ||
<cacheSessions>true</cacheSessions> | ||
<disableProtocols>sslv2,sslv3</disableProtocols> | ||
<preferServerCiphers>true</preferServerCiphers> | ||
</server> | ||
</openSSL> | ||
</clickhouse> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<yandex> | ||
<tcp_port_secure>9440</tcp_port_secure> | ||
<openSSL> | ||
<server> | ||
<!-- openssl req -subj "/CN=localhost" -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/clickhouse-server/server.key -out /etc/clickhouse-server/server.crt --> | ||
<certificateFile>/etc/clickhouse-server/certs/server.crt</certificateFile> | ||
<privateKeyFile>/etc/clickhouse-server/certs/server.key</privateKeyFile> | ||
<!-- openssl dhparam -out /etc/clickhouse-server/dhparam.pem 4096 --> | ||
<dhParamsFile>/etc/clickhouse-server/certs/dhparam.pem</dhParamsFile> | ||
<verificationMode>none</verificationMode> | ||
<caConfig>/etc/clickhouse-server/certs/tests_ca.crt</caConfig> | ||
<cacheSessions>true</cacheSessions> | ||
<disableProtocols>sslv2,sslv3</disableProtocols> | ||
<preferServerCiphers>true</preferServerCiphers> | ||
</server> | ||
</openSSL> | ||
</yandex> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters