I am creating a linked service to a remote server in Azure Data Factory v2. The remote server uses username-password authentication mechanism. I have already created a linked service to the same server using username and password both in the linked service creation window and its working fine. I would like to store the password as a secret in Azure Key vault and access that secret from Azure Data Factory.
I have the secret in Azure Key vault and i have granted the access permission to Azure Data Factory to access Azure Key Vault by adding the Access policy in Key vault. I created linked service to azure key vault and it shows 'connection successful' when i tested the connection. However, when i try to create the linked service to a remote server using Azure key vault credentials instead of password, the connection failed. The error looks like this:
Failed to get the secret from key vault, secretName: *********, secretVersion: , vaultBaseUrl:*****************. The error message is: An error occurred while sending the request. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.
I couldn't proceed further. Any help/suggestions would be appreciated.