AWS RDS Postgres force_ssl参数

发布于 2025-02-13 14:11:14 字数 210 浏览 1 评论 0原文

我正在通过Postgres Java客户端连接到AWS RDS Postgres。我将rds.force_ssl参数设置为1个在我的新参数组中,该组分配给了RDS实例。 我重新启动了我的RDS DB实例。

通过Java客户端连接时,我希望我的连接失败。但相反,我能够连接到RDS Postgres服务器。

我期望通过错误来连接。 我错过了什么吗?有没有办法仅通过SSL强制连接?

I am working on connecting to AWS RDS Postgres through postgres java client. I have the rds.force_ssl parameter set to 1 in my new parameter group which is assigned to the rds instance.
I have rebooted my RDS DB instance.

While connecting via the java client, I would expect my connection to fail. But on the contrary, I'm able to connect to the rds postgres server.

I was expecting the connection to through an error.
Am I missing anything? is there a way to force the connections via SSL only?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文