2
我试图将PostgreSQL数据库连接到Power BI桌面。将AWS PostgreSQL连接到Power BI Desktop:指定的主机名未出现在证书中
我从https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
下载证书并安装在我的机器。我得到相同的错误如下
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()'"
我的Npgsql版本是3.2.2。
证书已成功导入。
我真的不知道为什么它仍然显示错误。有人可以帮助我吗?
你可以连接PostgreSQL客户端吗?没有PowerBI。 – user5226582
@ user5226582是的,我用它与PgAdmin3 –