You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect to Oracle database from Linux machine using node-odbc with SSL configured on Oracle database server. But connection hangs and after some time it returns an error. It seems node-odbc dosen't support SSL encryption.
Hi @Swapnil-Girme, Does that connection string work from any other ODBC consumer on that same machine?
I am not aware of any ODBC calls that are required for setting up SSL. I would expect that it would be handled by the ODBC driver, in your case {Connect64_for_ODBC_71}. Maybe you could try configuring a DSN in /etc/odbc.ini and then test with isql to see if the ODBC connection works with unixodbc in general.
clach04
pushed a commit
to clach04/node-odbc__DO_NOT_USE
that referenced
this issue
Dec 17, 2020
I'm trying to connect to Oracle database from Linux machine using node-odbc with SSL configured on Oracle database server. But connection hangs and after some time it returns an error. It seems node-odbc dosen't support SSL encryption.
Error returned:
Below are the environment details:
Linux Distribution Name and Version:
Driver Manager:
UnixODBC v2.3.4
ODBC Driver:
Connection String:
"DRIVER={Connect64_for_ODBC_71};HOST=<host IP>;PORT=1521;UID=<user ID>;PWD=<user pwd>; SERVICENAME=orcl;EncryptionMethod=1;Truststore=/root/Oracle_POC/SSL/ssl_certs/server.pem; TruststorePassword=<truststore pwd>;ValidateServerCertificate=1"
Does node-odbc support SSL encryption?
The text was updated successfully, but these errors were encountered: