Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing configuration parameters in command line doesn't work for clickhouse-benchmark. #9347

Open
alexey-milovidov opened this issue Feb 24, 2020 · 3 comments
Labels
comp-cli Console & command line minor Priority: minor unfinished code

Comments

@alexey-milovidov
Copy link
Member

alexey-milovidov commented Feb 24, 2020

~/ClickHouse/build_gcc9$ clickhouse-client --port 9440 --secure -- --openSSL.client.invalidCertificateHandler.name=AcceptCertificateHandler
ClickHouse client version 20.2.1.1.
Connecting to localhost:9440 as user default.
Connected to ClickHouse server version 20.3.1 revision 54433.

ClickHouse client version is older than ClickHouse server. It may lack support for new features.

example.yandex.ru :) Bye.

Ok.

~/ClickHouse/build_gcc9$ clickhouse-benchmark --port 9440 --secure -- --openSSL.client.invalidCertificateHandler.name=AcceptCertificateHandler <<< "SELECT 1"
Loaded 1 queries.
DB::NetException: SSL Exception: error:14000086:SSL routines::certificate verify failed (localhost:9440)

Parameter -- --openSSL.client.invalidCertificateHandler.name=AcceptCertificateHandler was not applied.

@alexey-milovidov alexey-milovidov changed the title Changing configuration parameters in command line don't work for clickhouse-benchmark. Changing configuration parameters in command line doesn't work for clickhouse-benchmark. Feb 24, 2020
@alexey-milovidov
Copy link
Member Author

This is needed for testing #8886

@alexey-milovidov
Copy link
Member Author

This is needed for testing #8886

No it's unneeded, because clickhouse-benchmark is using persistent connections.

@alexey-milovidov alexey-milovidov added the minor Priority: minor label Feb 24, 2020
@filimonov filimonov added the comp-cli Console & command line label Feb 24, 2020
@azat
Copy link
Collaborator

azat commented Jan 26, 2024

Even clickhouse-client --port 9440 --secure -- --openSSL.client.invalidCertificateHandler.name=AcceptCertificateHandler does not work already

UPD: there is --accept-invalid-certificate already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-cli Console & command line minor Priority: minor unfinished code
Projects
None yet
Development

No branches or pull requests

3 participants