When trying to connect to a 3 node cluster on docker using the python client while tls was set to True, I was experiencing an SSL HANDSHAKE error more detail shown below:
""UNKNOWN:Error received from peer {created_time:"2024-07-29T09:05:29.2486273+00:00", grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:2113: Ssl handshake failed: SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED"}""
In order to solve this, I needed to provide the root ca in the connection string so that the server can decrypt the data to read it.
When trying to connect to a 3 node cluster on docker using the python client while tls was set to True, I was experiencing an SSL HANDSHAKE error more detail shown below:
""UNKNOWN:Error received from peer {created_time:"2024-07-29T09:05:29.2486273+00:00", grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:2113: Ssl handshake failed: SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED"}""
In order to solve this, I needed to provide the root ca in the connection string so that the server can decrypt the data to read it.
Code Here: