webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  JDBC - Connect with SSL Authentication

    Posted Sat March 09, 2024 06:48 PM

    Product/components used and version/fix level:

    Integration Server 10.3 IS_10.3_Core_Fix19

    Detailed explanation of the problem:

    Hello.
    We would like to connect our IS to a Postgres database with SSL Authentication but we’re receiving the following error:

    image

    I tried to add the SSL certificates provided by the DB Admin to via IS Admin “Security/Certificates” but still doesn’t work.

    Please, how can I connect our IS to a DB using the SSL Authentication?

    Thank you in advance!

    Error messages / full error message screenshot / log file:

    [ADA.1.204] Cannot connect to the database with DataSource class “org.postgresql.ds.PGSimpleDataSource”.
    FATAL: connection requires a valid client certificate

    Question related to a free trial, or to a production (customer) instance?

    Production (Customer) instance


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: JDBC - Connect with SSL Authentication

    Posted Mon March 11, 2024 06:48 AM

    Hi Renan,

    what is your JDBC Adapter version (with Fixes applied)?

    I have never worked with PostgreSQL Databases with JDBC Adapter, but did you check with DBA how the listener is configured for SSL Auth?
    Currently it seems only to contain properties for the transport encryption, but not for the client authentication.

    You might need to enhance the “Other Properties” field with additional properties regarding the client auth certificate as the JDBC Adapter is not aware about the certificates palced in IS Admin → Security → Certificates and/or IS Admin → Security → Keystores ootb.
    Please provide some screenshots of these pages for reference.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: JDBC - Connect with SSL Authentication

    Posted Mon March 11, 2024 08:15 AM

    Thank you Holger for your return!

    Follow the screenshots as requested (Sorry, I put the certificate only in Security → Certificates → Configure Client Certificates):


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: JDBC - Connect with SSL Authentication

    Posted Mon March 11, 2024 09:28 AM

    Hi Renan,

    you will find the following links helpful:

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: JDBC - Connect with SSL Authentication

    Posted Thu April 18, 2024 09:45 AM

    @Holger_von_Thomsen , thank you for mentioning these links. I’ll take a look at it.

    This subject came up again here in our team after a long time :laughing:, so I’d like to try to take advantage of this topic.

    I’ve read the “Configuring Adapter for JDBC Connections” available on Configuring Adapter for JDBC Connections (softwareag.com) and I noticed the following part:

    On the Connection Types screen, select the Connection Type:

    *webMethods Adapter for JDBC Connection

    *webMethods Adapter for JDBC SSL Connection

    However, in our I.S we don’t have the “webMethods Adapter for JDBC SSL Connection” available:

    Please, how can I enable the above option? Should I install a specific lib in our Integration Server?
    We have the following updates for JDBC Adapters:
    JDBC_10.3_Fix1
    JDBC_10.3_Fix2
    JDBC_10.3_Fix10

    Thank you again in advance!


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: JDBC - Connect with SSL Authentication

    Posted Thu April 18, 2024 12:45 PM

    Hi Renan,

    unfortunately, I never had a chance to work the JDBC Adapter 10.3 as I had to retire my webMethods-based project last year before the migration to the 10.x stream could be planned, due to various reasons.

    Fixes are cumulative, therefore applying the latest should be sufficient.

    You should consider opening an incident ticket with SAG support to check, why the second connection type for SSL connections is not visible for you.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: JDBC - Connect with SSL Authentication

    Posted Thu April 18, 2024 04:15 PM

    I have both SSL and the other version in both my 10.15 and 10.3 environments(both versions use JDBC adapter 10.3). I don’t remember doing anything specific to add it. Check if you skipped something during the installation and check the drivers you have.

    The fixes are always cumulative, meaning if you have fix10 that means you have fixes level from 1 to 9 and 10. Using the latest fixes might solve your issue as well. Just be careful before installing fixes if you have skipped them for a very long time, so take a backup.


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: JDBC - Connect with SSL Authentication

    Posted Fri April 19, 2024 08:16 PM

    Thank you for your responses @engin_arlak and @Holger_von_Thomsen .
    I opened a ticket with SAG support and Mr. Miro told me that this function with SSL was added in Fix #12.
    We’ll try to update our DEV environment on next Monday.


    #webMethods
    #Integration-Server-and-ESB