how to setup SSL configuration in oracle database - oracle

is to setup ssl configuration in oracle i need to add the encryption configuration in oracle.
what recommendation or steps to follow for SSL setup in Oracle env, is oracle wallet to configure in sqlnet file.

Related

Informatica Connection to OCI ADW during installation

I'm trying to install Informatica 10.1 on OCI and thereby connecting it to ADW for the INFA users access.
I've successfully established connectivity with ADW through sqlplus using the wallet keys. However, during the Informatica installation I'm not able to connect to the ADW database. Below is an excerpt of the connection that is being tried by the installer.
Configure the database for the domain configuration repository:
Database type:
* 1->Oracle
2->SQLServer
3->DB2
4->Sybase
(Default: 1):
Database user ID: (default :- dbadmin) :
User password: (default :- ) :
Configure the database connection
1->JDBC URL
* 2->Custom JDBC Connection String
(Default: 2):
I'm wary on the custom JDBC Connection String that is being asked. Usually the default string is something like this:
jdbc:informatica:oracle://somestringfromtnsnames.oraclecloud.com:1521;ServiceName=somestringfromtnsnames.adb.oraclecloud.com
But in this case I'm connecting to ADW via wallet & ideally the wallet information should be provided. I just am not sure how. I've prepared a string in accordance to the same which I thought was correct, but it doesn't work.
jdbc:informatica:oracle:#tnsnamesalias?TNS_ADMIN=/path/to/my/wallet/store
Has anyone got any idea on this? Any pointers would be helpful.
From what I understand, the DataDirect JDBC drivers used by Informatica do not support Oracle's encryption, which is required to access ADW. It appears that you can use Oracle Client on an existing Informatica installation to add ADW as a target, but not using JDBC or ODBC. There appear to be limitations to this in terms of metadata access, and some import steps will need to be completed manually.
In spite of what it implies in "Autonomous Database 3rd Party Tools and Applications" for Informatica, the only way to complete a new installation - according to the steps in Appendix A of the doc - is to first disable the SQL*Net encryption. This requires a level of access to the Oracle configuration files and processes that does not exist for Autonomous Database services (i.e. access to sqlnet.ora and lsnrctl). It only exists if you are running your own VM host (Infrastructure as a Service) with a stand-alone installation of Oracle Database that you fully control.

Enable ssl connection between bitbucket server and aws rds oracle database giving error

I am trying to establish ssl connection between bitbucket server(hosted on EC2 instance) and AWS RDS oracle database giving error. when i try to establish the ssl connection using openssl from bitbucket server to db. ssl connection is established and comes fine. but when i try to add the changes in bitbucker.properties file for the same. i am getting different errors and bitbucket server not coming up after restart. my bitbucket.properties file looks like:
jdbc.driver=org.oracle.Driver
jdbc.url=<url>:8442/ORACLE
jdbc.user=bitbucketuser
jdbc.password=****
server.port=8442
server.secure=true
server.ssl.enabled=true
server.ssl.protocol=TLSv1.2
server.ssl.key-store="path/to/my/keystorepath"
server.ssl.key-store-password="mypassword"
server.require-ssl=true
server.ssl.key-alias=tomcat
server.ssl.keystore-type=JKS
prior to this, i have created the options for ssl enable at port 8442 and attached it to option group. restarted db to reflect the changes. i also followed the following document to add the certificate in to my bitbucket path. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/ssl-certificate-rotation-oracle.html.
can anyone help me to provide the properties file structure/details for enabling the ssl from bitbucket server to oracle rds or guide me with the steps for ssl establish between bitbucket server to rds db?
Much appreciated!!!

Oracle instant client 12c EZConnect Using tcps instead of tcp

I download oracle instant client 12.2.0.1.0, I try to use sql loader to load csv data to the database. I can successfully load using following:
sqlLdr.exe userid=user/password#//192.9.200.228:1521/oracle ERRORS=4000 control=D:\temp\csma\xx_20190225.ctl log=D:\temp\csma\xx.log
However my production would only allow secured connection only (use tcps), can I use tcps by EZConnect? If not how can I connect using tcps using just the instant client (not full client)?
Instant Client based applications can connect using a Net Service Name from a tnsnames.ora file. The Instant Client installation instructions (eg. the instructions for Linux x64) tell you where to put the Oracle Net configuration files. Create the default location, put the files there, and update the connect string in your application.
With Oracle 19c, the Easy Connect syntax was extended to be 'Easy Connect Plus' so you specify things like the wallet location in-line, see the Understanding the Easy Connect Naming Method in the Oracle Net 19c documentation. No Instant Client 19c has been released yet.

Error when adding Oracle DB to ODBC connection

Hi everyone here,
I am pretty new to Oracle DB configurations as I have been using SAS and Microsoft SQL all this while.
What i want to do is to add Oracle DB to ODBC(64-bit) in a new server.
This is the scenario:
Server A:- Existing Application server that has Oracle configured in ODBC(64-bit)(Been using for the past 3 years, configured by other people).
Server DB:- The Database server
Server B:- Brand new server that i want to configure Oracle DB in ODBC(64-bit)(Brand new).
I copy every single details of the server information in Server A ODBC for the same Oracle DB and put it in Server B ODBC. I have both Server A and Server B remote connection side by side and do "Test Connection".
Server A can connect successfully. However, Server B is giving me this error:
SQLState=08004
This is my first time trying to configure for ODBC to Oracle DB. I have previously configured many Microsoft SQL DB without any issue. Do take note that i have not installed any Oracle driver or any necessary-tool needed for ODBC to link with Oracle as i do not know of any. Is there anything i have to install for this to work or any necessary settings need to be done before configuring it?
All this while for Microsoft SQL connection to ODBC, i just put in the DB credentials and voila.
Your help is very much appreciated.

How to connect to SSL enabled Oracle database using SQL Developer

I am trying to connect to Oracle database through SQL Developer. Our database is SSL enabled and runs with TCPS. In SQL Developer, I could not find any option where I can configure SSL parameters.
Does SQL developer support connecting to SSL enabled databases? If yes, how. I searched a lot about this, but could not find any relevant solution.
Find sqldeveloper.conf and add lines
AddVMOption -Djavax.net.ssl.trustStore=point to your keystore.jks with Oracle certificate
AddVMOption -Djavax.net.ssl.trustStoreType=JKS
AddVMOption -Djavax.net.ssl.trustStorePassword=your keystore password
In the developer use custom JDBC URL like
jdbc:oracle:thin:#(description=(address=(protocol=tcps)(host=your dbhost)(port=2484))(connect_data=(service_name=your db_service)))

Resources