axonops / axonops-workbench

AxonOps™ Workbench for Apache Cassandra® - Desktop application for Mac, Windows and Linux
https://axonops.com
Apache License 2.0
11 stars 0 forks source link

[bug] Unable to connect to a cluster using mTLS #241

Closed rgooding closed 2 months ago

rgooding commented 3 months ago

I have only tested this on macOS so the results may be different on other OSes.

Attempting to connect to a cluster that uses mTLS does not work at all. I have supplied the correct hostname, port and certificates but when I click Test Connection it just hangs and gives me no feedback. If the connection failed for any reason I would expect to see an error message but nothing appears, the spinner just stays until I manually cancel it.

Changing the "Validate files" switch does not appear to make any difference (what does this switch do anyway? is this enabling/disabling certificate verification? It needs a better name because nobody will know what it does!)

I can connect to this cluster successfully using openssl s_client and using cqlsh from the command line

digiserg commented 3 months ago
image

I tested it on tag 0.1.0-internal-20240805 and it works for me. I'll test the latest versions shortly.

mhmdkrmabd commented 3 months ago

@digiserg am tuned for your feedback

mhmdkrmabd commented 3 months ago

This is related to #233, will be tested after the new PR