To connect Azure Data Factory to DB2 using an SSL certificate through a Self-Hosted Integration Runtime, you need to follow these steps to create a Linked Service:
Install the SSL Certificate - Ensure that the SSL certificate is installed on the Self-Hosted Integration Runtime machine. The certificate must be a publicly trusted X509 v3 certificate.
Create the Linked Service - In your Azure Data Factory or Synapse workspace, navigate to the "Manage" tab and select "Linked Services." Click on "New" and search for the DB2 connector.
Fill in the required properties:
- Server - Specify the DB2 server name and port (e.g.,
server:port
). - Database - Provide the name of the DB2 database.
- Authentication Type: Set this to "Basic."
- Username - Enter the username for the DB2 database.
- Password - Enter the password, ensuring to mark it as a SecureString or reference a secret stored in Azure Key Vault.
- Certificate Common Name - If using SSL, provide the common name for the certificate.
Test the Connection - After configuring the Linked Service, test the connection to ensure everything is set up correctly.
Make sure that the Self-Hosted Integration Runtime is configured to trust the SSL certificate, as this is crucial for establishing a secure connection.
For more details, please refer the following documentations:
- Copy data from DB2 using Azure Data Factory or Synapse Analytics
- Enable remote access from intranet with TLS/SSL certificate (Advanced)
- Create and configure a self-hosted integration runtime
I hope this information helps. Please do let us know if you have any further queries.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.
Thank you.