prmoore77 commented on PR #14082:
URL: https://github.com/apache/arrow/pull/14082#issuecomment-1341607967
Hi @lidavidm - I've built your branch from source and am attempting to test
the Python ADBC connectivity to a Flight SQL server I'm running. I am using
TLS in my testing, but the certificate is self-signed, so it is failing
certificate validation when I connect.
Here is the Python testing code:
```import os
import pyarrow.flight_sql
from dotenv import load_dotenv
# Load our environment for the password...
load_dotenv(dotenv_path=".env")
uri = ("grpc+tls://localhost:31337?"
"useEncryption=true"
f"&user=flight_username&password={os.environ['FLIGHT_PASSWORD']}"
"&disable_server_verification=True"
)
conn = pyarrow.flight_sql.connect(uri=uri)
cur = conn.cursor()
cur.execute("SELECT 1, 'hi', 2.0")
cur.fetch_arrow_table()
```
Please note - I'm attempting to use the uri format per the Arrow Flight SQL
JDBC driver specification, which is likely incorrect.
Can you let me know the way to disable certificate validation to test the
functionality?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]