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

This is a discussion on SSL support for natvie DB2 LUW (non-SQLJ/JDBC) within the ibm-db2 forums in Other Databases category; 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...

Go Back   Database Forum > Other Databases > ibm-db2

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-22-2008, 05:26 AM
Default 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


Reply With Quote
  #2  
Old 07-22-2008, 09:55 AM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

On Jul 22, 10:26 am, "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?


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

[...]
Reply With Quote
  #3  
Old 07-22-2008, 02:33 PM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

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).
Reply With Quote
  #4  
Old 07-23-2008, 03:50 AM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

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" wrote in message
news:LRohk.23379$nD.22873-at-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).



Reply With Quote
  #5  
Old 07-23-2008, 12:33 PM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

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 :-)

Reply With Quote
  #6  
Old 07-23-2008, 01:39 PM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

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.

Reply With Quote
  #7  
Old 07-23-2008, 09:20 PM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

>>> On 7/23/2008 at 10:39 AM, in message ,
Darin McBride wrote:
> 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 REMOTE SERVER SECURITY 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

Reply With Quote
  #8  
Old 07-24-2008, 02:33 AM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

Frank Swarbrick wrote:

>>>> On 7/23/2008 at 10:39 AM, in message ,

> Darin McBride wrote:
>> 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 REMOTE SERVER SECURITY
> 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.
Reply With Quote
  #9  
Old 07-24-2008, 03:56 PM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

>>> On 7/23/2008 at 11:33 PM, in message
,
Darin McBride wrote:
> Frank Swarbrick wrote:
>
>>>>> On 7/23/2008 at 10:39 AM, in message

,
>> Darin McBride wrote:
>>> 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 REMOTE SERVER SECURITY
>> 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

Reply With Quote
  #10  
Old 07-24-2008, 04:01 PM
Default Re: SSL support for natvie DB2 LUW (non-SQLJ/JDBC)

I can't tell if this does or does not address .NET clients. Does it?

Thanks,
Frank

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 12:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.