An unknown error occurred while creating an encrypted connection or retrieving the credentials. Verify that the certificate ...

An unknown error occurred while creating an encrypted connection or retrieving the credentials. Verify that the certificate store on the server contains a valid certificate issued by a trusted certification authority, or enable the set_trust_server_certificate configuration item on the server to enable using its self signed certificate.