473,401 Members | 2,139 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,401 software developers and data experts.

SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

Hallo,

Is SSL protocol in LUW only supported for IBM DB2 Driver for JDBC and SQLJ
type 4 ?
I want my NATIVE DB2 client to connect to DB2 server using SSL protocol (not
using SQLJ/JDBC)

Is this supported yet?
If yes, can someone point me to a HOWTO

I'm using Data Server 9.5 for Unix and Data Server Runtime Client 9.5 for
Windows

Grüße,

Christian Tanner
Jul 22 '08 #1
15 2576
On Jul 22, 10:26 am, "Christian T" <n...@spam.dewrote:
Hallo,

Is SSL protocol in LUW only supported for IBM DB2 Driver for JDBC and SQLJ
type 4 ?
I want my NATIVE DB2 client to connect to DB2 server using SSL protocol (not
using SQLJ/JDBC)

Is this supported yet?
Not that I'm aware of. In situations like yours I have used stunnel,
perhaps it is worth a look (http://www.stunnel.org/)?

/Lennart

[...]
Jul 22 '08 #2
Christian T wrote:
Hallo,

Is SSL protocol in LUW only supported for IBM DB2 Driver for JDBC and SQLJ
type 4 ?
I want my NATIVE DB2 client to connect to DB2 server using SSL protocol
(not using SQLJ/JDBC)

Is this supported yet?
It appears to be, yes.
If yes, can someone point me to a HOWTO
http://publib.boulder.ibm.com/infoce...searchWord=ssl

You should be able to set DB2COMM to SSL (or TCPIP,SSL if you want both).
At least, that's the server side. I'm pretty sure it's available for the
client side, too.
I'm using Data Server 9.5 for Unix and Data Server Runtime Client 9.5 for
Windows
You may need to get the GSKit to get the runtime client to do SSL (it's not
included by default as not many people need it and it's fairly large).
Jul 22 '08 #3
Darin,

That is just the point where i got stuck.
On the client side there is only SSL support for SQLJ and JDBC :-(

I think i have a look at STUNNEL, that might work i hope...

thanks,

Christian

"Darin McBride" <dm******@naboo.to.org.no.spam.for.mewrote in message
news:LRohk.23379$nD.22873@pd7urf1no...
Christian T wrote:
>Hallo,

Is SSL protocol in LUW only supported for IBM DB2 Driver for JDBC and
SQLJ
type 4 ?
I want my NATIVE DB2 client to connect to DB2 server using SSL protocol
(not using SQLJ/JDBC)

Is this supported yet?

It appears to be, yes.
>If yes, can someone point me to a HOWTO

http://publib.boulder.ibm.com/infoce...searchWord=ssl

You should be able to set DB2COMM to SSL (or TCPIP,SSL if you want both).
At least, that's the server side. I'm pretty sure it's available for the
client side, too.
>I'm using Data Server 9.5 for Unix and Data Server Runtime Client 9.5 for
Windows

You may need to get the GSKit to get the runtime client to do SSL (it's
not
included by default as not many people need it and it's fairly large).

Jul 23 '08 #4
Christian T wrote:
Darin,

That is just the point where i got stuck.
On the client side there is only SSL support for SQLJ and JDBC :-(
After a bit of investigation, it seems that this should be added soon,
possibly as soon as 9.5FP2, due out in August.
I think i have a look at STUNNEL, that might work i hope...
Good luck :-)

Jul 23 '08 #5
Christian T wrote:
Darin,

That is just the point where i got stuck.
On the client side there is only SSL support for SQLJ and JDBC :-(
I found it... with a bit more help.

http://publib.boulder.ibm.com/infoce...c/t0053518.htm

Apparently, this is in v9.1FP5. You may need to upgrade a bit.

Jul 23 '08 #6
>>On 7/23/2008 at 10:39 AM, in message <a9Jhk.128399$gc5.8952@pd7urf2no>,
Darin McBride<dm******@naboo.to.org.no.spam.for.mewrote:
Christian T wrote:
>Darin,

That is just the point where i got stuck.
On the client side there is only SSL support for SQLJ and JDBC :-(

I found it... with a bit more help.

http://publib.boulder.ibm.com/infoce...om.ibm.db2.udb
.uprun.doc/doc/t0053518.htm

Apparently, this is in v9.1FP5. You may need to upgrade a bit.
This is a little weird. This link talks about cataloging a server like so:

catalog TCPIP NODE <nodename REMOTE <ipaddr SERVER <portSECURITY SSL
But in DB2 9.5 there does not appear to be an option of SECURITY SSL.

I'm not understanding how this has changed between version 9.1 and version
9.5. Anyone know? Is it just missing documentation in V9.5?

Thanks,
Frank

Jul 24 '08 #7
Frank Swarbrick wrote:
>>>On 7/23/2008 at 10:39 AM, in message <a9Jhk.128399$gc5.8952@pd7urf2no>,
Darin McBride<dm******@naboo.to.org.no.spam.for.mewrote:
>Christian T wrote:
>>Darin,

That is just the point where i got stuck.
On the client side there is only SSL support for SQLJ and JDBC :-(

I found it... with a bit more help.

http://publib.boulder.ibm.com/infoce...om.ibm.db2.udb
.uprun.doc/doc/t0053518.htm

Apparently, this is in v9.1FP5. You may need to upgrade a bit.

This is a little weird. This link talks about cataloging a server like
so:

catalog TCPIP NODE <nodename REMOTE <ipaddr SERVER <portSECURITY
SSL
But in DB2 9.5 there does not appear to be an option of SECURITY SSL.

I'm not understanding how this has changed between version 9.1 and version
9.5. Anyone know? Is it just missing documentation in V9.5?
9.5 is older than 9.1fp5 ;-) This should be there by 9.5fp2 as the feature
gets merged forward.
Jul 24 '08 #8
>>On 7/23/2008 at 11:33 PM, in message
<ruUhk.129910$gc5.114399@pd7urf2no>,
Darin McBride<dm******@naboo.to.org.no.spam.for.mewrote:
Frank Swarbrick wrote:
>>>>On 7/23/2008 at 10:39 AM, in message
<a9Jhk.128399$gc5.8952@pd7urf2no>,
>Darin McBride<dm******@naboo.to.org.no.spam.for.mewrote:
>>Christian T wrote:

Darin,

That is just the point where i got stuck.
On the client side there is only SSL support for SQLJ and JDBC :-(

I found it... with a bit more help.

http://publib.boulder.ibm.com/infoce...om.ibm.db2.udb
>>.uprun.doc/doc/t0053518.htm

Apparently, this is in v9.1FP5. You may need to upgrade a bit.

This is a little weird. This link talks about cataloging a server like
so:

catalog TCPIP NODE <nodename REMOTE <ipaddr SERVER <portSECURITY
SSL
But in DB2 9.5 there does not appear to be an option of SECURITY SSL.

I'm not understanding how this has changed between version 9.1 and
version
>9.5. Anyone know? Is it just missing documentation in V9.5?

9.5 is older than 9.1fp5 ;-) This should be there by 9.5fp2 as the
feature
gets merged forward.
Oh!

Where would be the best place to check for the newest fixpacks, so that I
can look for it when it comes out for 9.5?

Thanks,
Frank

Jul 24 '08 #9
I can't tell if this does or does not address .NET clients. Does it?

Thanks,
Frank

Jul 24 '08 #10
On Jul 24, 3:01 pm, "Frank Swarbrick" <Frank.Swarbr...@efirstbank.com>
wrote:
I can't tell if this does or does not address .NET clients. Does it?

Thanks,
Frank
Hi,

That support is available on V91 FP5:

http://publib.boulder.ibm.com/infoce...c/c0053516.htm

and will come out when FP2 is available.
Jul 25 '08 #11
Frank Swarbrick wrote:
Where would be the best place to check for the newest fixpacks, so that I
can look for it when it comes out for 9.5?
http://www-933.ibm.com/eserver/support/fixes/

Select "Information Management", then "DB2", then "9.5.*", then your
platform, and hit continue. Then select "Recommended", "continue" (this
selects the most current fix pack). Then select the group (there should
only be one, I think) - you should be able to just hit "select all". Now
you have a choice - use Download Director (IBM's Java applet that can
download a file in a swarm mode similar to peer-to-peer, but all
connections will be to IBM, not to others, so it's not really peers - can
help maximise your bandwidth usage to get the file as fast as possible),
or, if Java doesn't work well for you, regular HTTP mode. Select one (DD
is default), and hit "continue." Now you'll have a list of everything for
your platform in the latest 9.5 fix pack. Choose what to download, and
you're off.

Alternately, instead of selecting "recommended", if you want a particular
fix pack, you can try selecting "Text" and putting in "FP2". That
currently will return nothing (FP2 isn't available yet), but once FP2 is
available, the search will return what you 're interested in. This works
fine when you want to know that a particular fix pack is out, but not as
useful when you just want the latest (as IBM suggests you do ;-) ).
Jul 25 '08 #12
>>On 7/25/2008 at 12:28 PM, in message <jXoik.93576$kx.93071@pd7urf3no>,
Darin McBride<dm******@naboo.to.org.no.spam.for.mewrote:
Frank Swarbrick wrote:
>Where would be the best place to check for the newest fixpacks, so that
I
>can look for it when it comes out for 9.5?

http://www-933.ibm.com/eserver/support/fixes/

Select "Information Management", then "DB2", then "9.5.*", then your
platform, and hit continue. Then select "Recommended", "continue" (this
selects the most current fix pack). Then select the group (there should
only be one, I think) - you should be able to just hit "select all". Now
you have a choice - use Download Director (IBM's Java applet that can
download a file in a swarm mode similar to peer-to-peer, but all
connections will be to IBM, not to others, so it's not really peers - can
help maximise your bandwidth usage to get the file as fast as possible),
or, if Java doesn't work well for you, regular HTTP mode. Select one
(DD
is default), and hit "continue." Now you'll have a list of everything
for
your platform in the latest 9.5 fix pack. Choose what to download, and
you're off.

Alternately, instead of selecting "recommended", if you want a
particular
fix pack, you can try selecting "Text" and putting in "FP2". That
currently will return nothing (FP2 isn't available yet), but once FP2 is
available, the search will return what you 're interested in. This
works
fine when you want to know that a particular fix pack is out, but not as
useful when you just want the latest (as IBM suggests you do ;-) ).
Thanks.

This actually led me to a page that seems even more useful:
http://www-1.ibm.com/support/docview...id=swg21293566

This is the page for "DB2 Version 9.5 for Linux, UNIX and Windows APARs by
fix pack".
Nice!

Frank
Jul 25 '08 #13
Hello,

Version 9.5 Fix Pack 2 is available. You can download it using the
links listed in earlier postings. The V9.5 Information Center has
been updated as well:

http://publib.boulder.ibm.com/infoce.../c0053323.html

Links for the SSL support are available from there.
Aug 26 '08 #14
>>On 8/26/2008 at 3:06 AM, in message
<5d**********************************@59g2000hsb.g ooglegroups.com>,
louisem<lo*****@ca.ibm.comwrote:
Hello,

Version 9.5 Fix Pack 2 is available. You can download it using the
links listed in earlier postings. The V9.5 Information Center has
been updated as well:

http://publib.boulder.ibm.com/infoce.../com.ibm.db2.l
uw.wn.doc/doc/c0053323.html

Links for the SSL support are available from there.
Great!

Now I have a question... I have DB2 9.5 Express-C installed on my
workstation. We also have DB2 9.5 ESE (I think) installed on some Linux
servers. Assuming we get FP2 loaded on the Linux servers, what can I do to
get this functionality on my PC from a client perspective? I'm not
concerned about the server part of FP2 on my workstation. I know that
Express-C doesn't offer (free) fix packs. But I do want to be able to
connect using SSL from my workstation to the Linux servers.

Thanks,
Frank
Aug 27 '08 #15
Frank Swarbrick wrote:
>>>On 8/26/2008 at 3:06 AM, in message
<5d**********************************@59g2000hsb.g ooglegroups.com>,
louisem<lo*****@ca.ibm.comwrote:
>Hello,

Version 9.5 Fix Pack 2 is available. You can download it using the
links listed in earlier postings. The V9.5 Information Center has
been updated as well:

http://publib.boulder.ibm.com/infoce.../com.ibm.db2.l
uw.wn.doc/doc/c0053323.html

Links for the SSL support are available from there.

Great!

Now I have a question... I have DB2 9.5 Express-C installed on my
workstation. We also have DB2 9.5 ESE (I think) installed on some Linux
servers. Assuming we get FP2 loaded on the Linux servers, what can I do
to
get this functionality on my PC from a client perspective? I'm not
concerned about the server part of FP2 on my workstation. I know that
Express-C doesn't offer (free) fix packs. But I do want to be able to
connect using SSL from my workstation to the Linux servers.
Option 1: Wait for Express-C at FP2 or later level. I have no idea if this
is planned or not, so you may be waiting a looooong time.

Option 2: Buy Express-C FTL. This will give you the ability to use the
general fix packs.

Option 3: Download and install Data Server Client. This is free and DOES
come with fix pack support. You'll have to install it to a new location,
say /opt/ibm/db2/9.5.client. And then you'll have to create a new instance.
But that instance will have SSL support.

Non-Option 4: grab the client libraries from the server and copy them over.
Not really sure how this works, but it may work. Not recommended because
it's unlikely to be supported. Mind you, neither is Express-C, so it's not
going to jeopardise anything that way.
Aug 29 '08 #16

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

Similar topics

1
by: dfdfd | last post by:
I have a MSDE database that I am trying to connect to with JDBC. I don't have SQL Server installed. Is this possible? When I try to connect I get the error: java.sql.SQLException: Login...
1
by: bogachkov | last post by:
Hello Joe Over the past several years, I have found your responses to jdbc usage/driver related issues to be extremely helpful. I am sure that you're very busy so I will make my question as...
2
by: Satish Gupta | last post by:
I am using DB2 version 7.2 on Windows 2000. I just installed Fixpack 12 as well. This driver is not working with a third-party software. The vendor claims that this driver is too old. As a proof...
2
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered...
3
by: Pab | last post by:
I'm trying to use the client reroute feature of the DB2 Universal JDBC driver. I found documentation on this in the "Application Development Guide: Programming Client Applications" in the section...
4
by: Glenn Sullivan | last post by:
Hi, I have been trying to get LISTEN/NOTIFY working in with JDBC. I cannot seem to get notified. I looked in the e-mail archive and saw a lot of similiar questions a couple of years ago. I...
1
by: Wiebe de Jong | last post by:
I am trying to implement cursors using JDBC connector version 7.1b5 (postgresql-7.1b5.jar), but can't get it to work. Could anybody suggest the proper way to do it, or even some source code?...
1
by: aj | last post by:
I'm a newbie w/ SQL Server 2005. We will be connecting to SQL Server 2005 via JDBC. We have made this work by using an SQL Server account, rather than an Active Directory (AD) account, even...
0
by: neuraljay | last post by:
hi everyone. I am trying to build a jsp using webwork, hibernate and mysql. And right now I am doing its unit testing. Everytime I run the test I am getting this error: Error JDBC exception on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
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
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...
0
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...
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
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.