Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
JDBC datasource is not connecting to any encrypted database - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • JDBC datasource is not connecting to any encrypted database
KB0687116

JDBC datasource is not connecting to any encrypted database


1622 Views Last updated : Oct 16, 2023 public Copy Permalink
KB Summary by Now Assist

Description

No encryption support is present when using a Mid Server with JDBC DB2 database connection.

 

Steps to Reproduce

 

There is no support for an important feature:

It is not possible to create a JDBC connection (DB2) to an encrypted database.
No connections can be made to encrypted databases.

I created the problem because this is essential functionality.

Workaround

This is expected behaviour. This problem can be solved by specifying the required encryption properties in the data source:

  1. In the Data Source form, make the Properties field visible through context-menu/Configure/Form Layout.
  2. Specify any required properties using the following format: key1=value1,key2=value2.

These properties are then passed to the DriverManager whenever a connection is established.

For DB2, it might be helpful to use the suggestion below, where the properties as specified should work, assuming Username and Password are filled in the form.

securityMechanism=com.ibm.db2.jcc.DB2BaseDataSource.ENCRYPTED_USER_AND_PASSWORD_SECURITY,encryptionAlgorithm=2

Ref: https://www.ibm.com/support/knowledgecenter/en/SSEPEK_10.0.0/java/src/tpc/imjcc_cjvjcsen.html


Related Problem: PRB1276568

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.