I think you need to verify if your PostgreSQL SSL/TLS configuration matches what is expected by
the linked service configuration because from the message I can see that you have handshake issues.
Since you are using SHIR, verify that it has the necessary network connectivity and permissions to access your PostgreSQL server. Ensure that the SHIR is up-to-date and configured correctly to handle SSL connections.
Can you try the following ?
{
"name": "PostgreSql1",
"properties": {
"annotations": [],
"type": "PostgreSqlV2",
"typeProperties": {
"server": "xxx.postgres.database.azure.com",
"port": "5432",
"database": "xx",
"username": "xx",
"password": {
"type": "AzureKeyVaultSecret",
"store": {
"referenceName": "KEYVAULT",
"type": "LinkedServiceReference"
},
"secretName": "xx"
},
"sslMode": "require", // Ensure this is set correctly
"authenticationType": "Basic",
"trustServerCertificate": true // Ensure this is set correctly
},
"connectVia": {
"referenceName": "SHIR",
"type": "IntegrationRuntimeReference"
}
}
}