Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将AWS PostgreSQL连接到Power BI Desktop:证书中不存在指定的主机名_Postgresql_Amazon Web Services_Ssl_Powerbi_Powerbi Datasource - Fatal编程技术网

将AWS PostgreSQL连接到Power BI Desktop:证书中不存在指定的主机名

将AWS PostgreSQL连接到Power BI Desktop:证书中不存在指定的主机名,postgresql,amazon-web-services,ssl,powerbi,powerbi-datasource,Postgresql,Amazon Web Services,Ssl,Powerbi,Powerbi Datasource,我正在尝试将我的PostgreSQL数据库连接到我的Power BI桌面 我从网上下载了证书https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem 并安装在我的机器上。我得到了如下相同的错误 Details: "An error happened while reading data from the provider: 'Npgsql.Tls.ClientAlertException: CertificateUnkno

我正在尝试将我的PostgreSQL数据库连接到我的Power BI桌面

我从网上下载了证书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

证书是这样成功导入的


我真的不知道为什么它仍然显示错误。有人能帮我吗?

我终于可以用ODBC驱动程序访问数据库了

从“获取数据”列表中选择“其他”,然后选择“ODBC”。添加所需的驱动器RIF并设置数据源。输入您的凭据并连接


很好

您可以连接PostgreSQL客户端吗?没有PowerBI,也就是说。@user5226582是的,我将其与PgAdmin3Did一起使用。您是否可以在PowerBI服务上配置自动刷新?我正在与之斗争