Connecting to autonomous database using Jupyter oracledb, getting SSL: SSLV3_ALERT_HANDSHAKE_FAILURE
Summary:
I am attempting to connect to my oracle cloud autonomous database using Jupyter notebook. I downloaded the wallet from Oracle Autonomous page. However, using oracledb and connection string info found in the tnsnames.ora, I get a handshake error DPY-6005.
Content (required):
Attempting to connect to oracle autonomous database using the following connection in Python, which I got from tnsnames.ora:
connection = oracledb.connect(user=username,
password=password,
retry_count=20,
retry_delay=3,
protocol="tcps",
host="adb.us-sanjose-1.oraclecloud.com",
port=1522,
service_name="g66996d17c789c5_nncdb_medium.adb.oraclecloud.com",
ssl_server_cert_dn="CN=adb.us-sanjose-1.oraclecloud.com,OU=Oracle ADB SANJOSE, O=Oracle Corporation, L=Redwood City, ST=California, C=US"