我试图让Play Framework通过SSL连接到Postgres数据库。SSL在Postgres上配置了LetsEncrypt。java.io.FileNotFoundException: /home/mainuser/.postgresql/root.crt (No such file or directory)
我需要指出的是,证书文件放在/etc/postgresql/
我正在尝试让web应用程序连接到Azure Database for Postgres。该web应用程序给我一个错误"OperationalError:无法连接到服务器:连接被拒绝是服务器运行在主机“本地主机”(127.0.0.1)上并接受端口5432上的TCP/IP连接?“我是不是错过了什么?
谢谢。