【发布时间】:2018-05-03 09:26:08
【问题描述】:
我在 Centos 7 上创建了 server.crt、server.key 和 root.crt 文件,并将它们放在 Windows 中的 C:\Users\xxxx\AppData\Roaming\postgresql 文件夹中,因为我在 Windows 上运行 postgresql 服务器。现在在使用 SSL 运行我的应用程序时,我收到错误为
“无法验证主机名”
请帮忙。
【问题讨论】:
-
您是否在客户端使用 JDBC 驱动程序?如果没有,还有什么?
-
是的,我正在使用 JDBC 驱动程序
标签: postgresql ssl ssl-certificate