×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Unable to connect to DB2 database server over sec port using SSL from windows ODBC DSN client

Unable to connect to DB2 database server over sec port using SSL from windows ODBC DSN client

Unable to connect to DB2 database server over sec port using SSL from windows ODBC DSN client

(OP)
I am trying to connect DB2 database servers over secure port using SSL from system ODBC DSN client machine. But I am getting below error

Error: SQL30081N A communication error has been detected. Communication protocol
being used: "SSL". Communication API being used: "SOCKETS". Location where
the error was detected: "". Communication function detecting the error:
"sqlccSSLSocketSetup". Protocol specific error code(s): "420", "*", "*".
SQLSTATE=08001

Could you please help me in this situation to fix the issue.

The steps I have done:

1) Created Keystore .kdb file along with stash file .sth file.
2) Added the certificate to Keystore and it is having below 3 certificates inside of it.
Root cert
Intermediate certificate
personal certificate
3) ODBC configurations - please refer the attachment for settings used
4) db2cli.ini file parameters:

[TEST]
Security=SSL
Port=0000
Database=test
Hostname=0.0.0.0
PWD=xxxxx
UID=xxxx

5) db2dsdriver.cgf parameters:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<configuration>
<databases>
<database host="0.0.0.0" name="TEST" port="0000">
<parameter name="SecurityTransportMode" value="SSL"/>
<parameter name="SSLClientKeyStoredb" value="fullpath\test.kdb"/>
<parameter name="SSLClientKeystash" value="fullpath\test.sth"/>
</database>
</databases>

<dsncollection>
<dsn alias="testalias" host="0.0.0.0" name="TEST" port="0000"/>
</dsncollection>

</configuration>

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close