Estoy tratando de conectar mi base de datos PostgreSQL a mi escritorio Power BI.
Descargué el certificado de https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem y lo instalé en mi máquina. Estoy recibiendo el mismo error de la siguiente manera
Details: "An error happened while reading data from the provider: 'Npgsql.Tls.ClientAlertException: CertificateUnknown: Server certificate was not accepted. Chain status: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. . The specified hostname was not present in the certificate. at Npgsql.Tls.TlsClientStream.SendAlertFatal(AlertDescription description, String message) at Npgsql.Tls.TlsClientStream.ParseCertificateMessage(Byte[] buf, Int32& pos) at Npgsql.Tls.TlsClientStream.TraverseHandshakeMessages() at Npgsql.Tls.TlsClientStream.<GetInitialHandshakeMessages>d__43.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Npgsql.Tls.TlsClientStream.<PerformInitialHandshake>d__72.MoveNext()'"Mi versión de Npgsql es 3.2.2.
Los certificados se importan con éxito de esta manera.
Realmente no sé por qué sigue mostrando el error. puede alguien ayudarme con esto?
Finalmente pude acceder a la base de datos con un controlador ODBC.
Seleccione Others de la lista Get Data y seleccione ODBC. Agregue el controlador (si es necesario) y configure la fuente de datos. Ingrese sus credenciales y conéctese.
¡Bueno para ir!