Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[node-oracledb-v6.3.0] SSL connection with .pem file #1715

Unanswered
AshwamedhPB asked this question in Q&A
Discussion options

Hi Team,

I am trying to make a secure SSL connection to the Oracle DB instance in thick mode with the below configuration

{
 ssl: { ca: '...' },
 connectString: '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCPS)(HOST=TEMP)(PORT=5500))(CONNECT_DATA=(SERVICE_NAME=ORASSL))(security=(SSL_SERVER_DN_MATCH=NO)))',
 connectTimeout: 60000,
 requestTimeout: 300000,
 ...rest,
}

I always get error "ORA-29024: Certificate validation failure" even if I am passing a valid cert.pem file.

Do I need to pass the .pem file differently or need some additional configuration to make this work?

Thanks in advance.

You must be logged in to vote

Replies: 1 comment

Comment options

We are trying to connect to on-prem oracledb is it all possible to connect to on-prem, the documents have details about could but onprem details are missing

https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#one-way-tls-connection-to-oracle-autonomous-database

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /