473,545 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.AUTHENTI CATION_SERVICES = (BEQ,NTS,NONE)
NAMES.DIRECTORY _PATH= (TNSNAMES, HOSTNAME, ONAMES)
SQLNET.ENCRYPTI ON_CLIENT = accepted
SQLNET.ENCRYPTI ON_TYPES_CLIENT = (DES40, RC4_56)
SQLNET.CRYPTO_S EED = {left out here}
SQLNET.CRYPTO_C HECKSUM_CLIENT = accepted
SQLNET.CRYPTO_C HECKSUM_TYPES_C LIENT = (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 7128
In article <69************ *************@p osting.google.c om>, 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.AUTHENT ICATION_SERVICE S = (BEQ,NTS,NONE)
NAMES.DIRECTOR Y_PATH= (TNSNAMES, HOSTNAME, ONAMES)
SQLNET.ENCRYPT ION_CLIENT = accepted
SQLNET.ENCRYPT ION_TYPES_CLIEN T = (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.ENCRYPTI ON_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_S EED 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.ENCRYPTI ON_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
2874
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 update information from an Oracle DB (ver 8.1.6 -- ancient, I know). Anyway, the site worked fine as long as the machine accessing the ASP page was...
4
7222
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 to make ODBC calls to the db. The particular system I'm working with, will not work with an Oracle stored procedure I'm told. However, it
5
13198
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 ODBC For Oracle approach, I added a data source in Oracle Data Source Administrator, in System DSN tab, I created a system data source named...
13
7452
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. Using the exact same code (copy and paste) into a Web app I get the following error "Error while trying to retrieve text for error ORA-01019". Security...
3
10755
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 Microsoft.Data.Odbc.OdbcConnection("dsn=POLite;Trusted_Connection=yes;User Id=SYSTEM;Password=MANAGER")
2
14212
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: Additional Array INSERT and SELECT Syntax Support by Pro*C/C++ and Pro*COBOL Precompilers: Dynamic SQL Statement Caching in Pro*C/C++ and Pro*COBOL ...
4
5419
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 "DSN=eisreport;Uid=eiu_sung;Pwd=xxxxx" After upgrading to 10g it stop working with the following error message. Microsoft OLE DB Provider for ODBC...
3
3255
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 "DSN=eisreport;Uid=eiu_sung;Pwd=xxxxx" After upgrading to 10g it stop working with the following error message. Microsoft OLE DB Provider for ODBC...
1
217
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 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...
0
7486
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7676
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7932
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7442
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7776
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5347
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4965
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3473
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1032
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.