473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Oracle ODBC error with ENCRYPTION

We are trying to connect to 3 different Oracle databases using MS
Access as the front-end and ODBC as the connection. The problem that
we are having is that 1 of the databases requires a CRYPTO_SEED. With
the sqlnet.ora file configured for the encryption, the other 2
databases won't connect and vise versa. Is there a way to make the
connections use encryption when required and not use it when not
required.

We are using 9i client version 9.2 and it's ODBC driver (also tried
getting the latest driver from Oracle on one machine).

NOTE: We have 3 machines set up that work, but the main difference
with those machines is that they use 9i version 9.01. I don't want to
have to use that version if at all possible. If that's the problem,
then I will have this problem again in the furture. I don't want to
just postpone the problem. All machines (including the ones that
work) use the same sqlnet.ora file.

sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES = (BEQ,NTS,NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, ONAMES)
SQLNET.ENCRYPTION_CLIENT = accepted
SQLNET.ENCRYPTION_TYPES_CLIENT = (DES40, RC4_56)
SQLNET.CRYPTO_SEED = {left out here}
SQLNET.CRYPTO_CHECKSUM_CLIENT = accepted
SQLNET.CRYPTO_CHECKSUM_TYPES_CLIENT = (MD5)

Does any of the experts have any idea. I am definately not an expert
when it comes to Oracle.

Thanks in advance
Jul 19 '05 #1
1 7107
In article <69*************************@posting.google.com> , Cliff says...

We are trying to connect to 3 different Oracle databases using MS
Access as the front-end and ODBC as the connection. The problem that
we are having is that 1 of the databases requires a CRYPTO_SEED. With
the sqlnet.ora file configured for the encryption, the other 2
databases won't connect and vise versa. Is there a way to make the
connections use encryption when required and not use it when not
required.

We are using 9i client version 9.2 and it's ODBC driver (also tried
getting the latest driver from Oracle on one machine).

NOTE: We have 3 machines set up that work, but the main difference
with those machines is that they use 9i version 9.01. I don't want to
have to use that version if at all possible. If that's the problem,
then I will have this problem again in the furture. I don't want to
just postpone the problem. All machines (including the ones that
work) use the same sqlnet.ora file.

sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES = (BEQ,NTS,NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, ONAMES)
SQLNET.ENCRYPTION_CLIENT = accepted
SQLNET.ENCRYPTION_TYPES_CLIENT = (DES40, RC4_56)
SQLNET.CRYPTO_SEED = {left out here}
SQLNET.CRYPTO_CHECKSUM_CLIENT = accepted
SQLNET.CRYPTO_CHECKSUM_TYPES_CLIENT = (MD5)

Does any of the experts have any idea. I am definately not an expert
when it comes to Oracle.

Thanks in advance


The problem is that if SQLNET.ENCRYPTION_CLIENT is set to "accepted" on both
machines and encryption is specified, then SQL*Net (really ASO) will try to
encrypt the connection. Since the SQLNET.CRYPTO_SEED parameter is required for
encryption, the connection will fail without it.

I'm unclear as to whether all three databases have encryption enabled. If they
do, I would just set the crypto_seed parameter to some random string of 70
characters (get a cat, they're good at generating them :-).

If one of the databases does not have encryption, comment out the value of
SQLNET.ENCRYPTION_CLIENT parameter for that database. That will disable the use
of encryption for that database.

Rick

P.S. I would change DES40 to something stronger like DES (or 3DES, if
available). While DES40 will protect the connection, DES or Triple DES is
better. I would do the same with RC4_56. If it's available, I would use RC4_128
or RC4_256.

P.S. To respond by mail, please reverse the "elcaro".
Rick Wessman
Oracle Corporation
The opinions expressed above are mine and do not necessarily reflect
those of Oracle Corporation.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: simianphile | last post by:
OK, I had a problem that I've now fixed but I can't really understand what was causing it in the first place. I have an intranet site that uses basic authentication to allow users to view and...
4
by: Roger Redford | last post by:
Dear Experts, I'm attempting to marry a system to an Oracle 817 datbase. Oracle is my specialty, the back end mainly, so I don't know much about java or javascript. The system uses javascript...
5
by: jrefactors | last post by:
My machine is Windows XP with Oracle 9.2 Home; IIS and Oracle are in the same box. I have tried both Oracle OLEDB Provider and Microsoft ODBC For Oracle, but both not working. For Microsoft...
13
by: Chris Botha | last post by:
The machine is running XP Pro with all the latest service packs, etc. I must access an Oracle database so I installed the Oracle client stuff. I can query Oracle from a Windows app, no problem....
3
by: Andrew McGregor | last post by:
Hi, I am trying to get a VB.NET application to connect to a local Oracle 9i Lite database. What is the correct form for a connect string? cn = New...
2
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers:...
4
by: nsung | last post by:
Recently we upgraded to Oracle 10g and added encryption on the server. I used to access the database tables via Active Server Pages with the following connection string: MyConnection.open...
3
by: nsung | last post by:
Recently we upgraded to Oracle 10g and added encryption on the server. I used to access the database tables via Active Server Pages with the following connection string: MyConnection.open...
1
by: Cliff | last post by:
We are trying to connect to 3 different Oracle databases using MS Access as the front-end and ODBC as the connection. The problem that we are having is that 1 of the databases requires a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.