@@ -2219,7 +2219,7 @@ The connect descriptor parameter ``TOKEN_AUTH`` must be set to
2219
2219
(CONNECT_DATA=(SERVICE_NAME=db_low.adb.oraclecloud.com))
2220
2220
(SECURITY=
2221
2221
(SSL_SERVER_DN_MATCH=ON)
2222
- (SSL_SERVER_CERT_DN="CN=efg.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US")
2222
+ (SSL_SERVER_CERT_DN="CN=efg.oraclecloud.com, O=Oracle Corporation, L=Redwood City, ST=California, C=US")
2223
2223
(TOKEN_AUTH=OAUTH)
2224
2224
(TOKEN_LOCATION='/opt/oracle/token')
2225
2225
))
@@ -2443,7 +2443,7 @@ your :ref:`tnsnames.ora <tnsnames>` file might contain:
2443
2443
(CONNECT_DATA=(SERVICE_NAME=db_low.adb.oraclecloud.com))
2444
2444
(SECURITY=
2445
2445
(SSL_SERVER_DN_MATCH=ON)
2446
- (SSL_SERVER_CERT_DN="CN=efg.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US")
2446
+ (SSL_SERVER_CERT_DN="CN=efg.oraclecloud.com, O=Oracle Corporation, L=Redwood City, ST=California, C=US")
2447
2447
(TOKEN_AUTH=OCI_TOKEN)
2448
2448
))
2449
2449
@@ -2461,7 +2461,7 @@ For example in a ``tnsnames.ora`` file:
2461
2461
(CONNECT_DATA=(SERVICE_NAME=db_low.adb.oraclecloud.com))
2462
2462
(SECURITY=
2463
2463
(SSL_SERVER_DN_MATCH=ON)
2464
- (SSL_SERVER_CERT_DN="CN=efg.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US")
2464
+ (SSL_SERVER_CERT_DN="CN=efg.oraclecloud.com, O=Oracle Corporation, L=Redwood City, ST=California, C=US")
2465
2465
(TOKEN_AUTH=OCI_TOKEN)
2466
2466
(TOKEN_LOCATION='/opt/oracle/token')
2467
2467
))
@@ -3169,8 +3169,8 @@ keep connections strings out of application code, see :ref:`tnsnames`.
3169
3169
3170
3170
.. _connectionadbmtls :
3171
3171
3172
- Mutal TLS connections to Oracle Cloud Autonomous Database
3173
- -------------------------------------------------------- -
3172
+ Mutual TLS connections to Oracle Cloud Autonomous Database
3173
+ ----------------------------------------------------------
3174
3174
3175
3175
To enable connections from node- oracledb to Oracle Autonomous Database in
3176
3176
Oracle Cloud using mTLS, a wallet needs to be downloaded from the cloud
@@ -3384,15 +3384,15 @@ For example, if your ``tnsnames.ora`` file had an entry::
3384
3384
3385
3385
cjjson_high = (description= (retry_count= 20 )(retry_delay= 3 )
3386
3386
(address= (protocol= tcps)(port= 1522 )
3387
- (host= adb . ap - sydney - 1 .oraclecloud .com ))
3387
+ (host= efg .oraclecloud .com ))
3388
3388
(connect_data= (service_name= abc_cjjson_high .adb .oraclecloud .com ))
3389
- (security= (ssl_server_cert_dn= " CN=adb.ap-sydney-1. oraclecloud.com,OU=Oracle ADB SYDNEY, O=Oracle Corporation,L=Redwood City,ST=California,C=US" )))
3389
+ (security= (ssl_server_cert_dn= " CN=efg. oraclecloud.com, O=Oracle Corporation, L=Redwood City, ST=California, C=US" )))
3390
3390
3391
3391
Then your applications can connect using the connection string:
3392
3392
3393
3393
.. code - block:: javascript
3394
3394
3395
- cs = " tcps://adb.ap-sydney-1 .oraclecloud.com:1522/abc_cjjson_high.adb.oraclecloud.com?wallet_location=/Users/cjones/Cloud/CJJSON&retry_count=20&retry_delay=3"
3395
+ cs = " tcps://efg .oraclecloud.com:1522/abc_cjjson_high.adb.oraclecloud.com?wallet_location=/Users/cjones/Cloud/CJJSON&retry_count=20&retry_delay=3"
3396
3396
connection = await oracledb .getConnection ({
3397
3397
user : " hr" ,
3398
3398
password : mypw,
@@ -3468,7 +3468,13 @@ Database, both of these paths are typically the same directory where the
3468
3468
** In node- oracledb Thick mode**
3469
3469
3470
3470
To use multiple wallets in node- oracledb Thick mode, a TCPS connection string
3471
- containing the ` ` MY_WALLET_DIRECTORY ` ` option needs to be created:
3471
+ containing the ` ` MY_WALLET_DIRECTORY ` ` option needs to be created::
3472
+
3473
+ ocidbdemo_high = (description= (retry_count= 1 )(retry_delay= 3 )
3474
+ (address= (protocol= tcps)(port= 1522 )(host= efg .oraclecloud .com ))
3475
+ (connect_data= (service_name= abc_ocidbdemo_high .adb .oraclecloud .com ))
3476
+ (security= (ssl_server_cert_dn= " CN=ijk.oraclecloud.com, O=Oracle Corporation, L=Redwood City, ST=California, C=US" )
3477
+ (my_wallet_directory= " /home/user1/Wallet_OCIDBDemo" )))
3472
3478
3473
3479
.. note ::
3474
3480
0 commit comments