# Issue with SSL Certificate for Postgres

**URL:** <https://community.fly.io/t/issue-with-ssl-certificate-for-postgres/22268>\
**Category:** Questions / Help\
**Tags:** postgres, certificates, flyctl, proxy, login-only\
**Created:** [October 15, 2024, 9:16am UTC](https://community.fly.io/t/issue-with-ssl-certificate-for-postgres/22268 "2024-10-15T09:16:05Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![PeterCxy](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/petercxy/32/36155_2.png) [@PeterCxy](https://community.fly.io/u/PeterCxy)\
**Post date:** [October 21, 2024, 3:09pm UTC](https://community.fly.io/t/issue-with-ssl-certificate-for-postgres/22268/16 "2024-10-21T15:09:24Z")

</div>

Hi @mayailurus 👋,

It’s not the “hairpinning” aspect that the proxy doesn’t like, but rather the fact that some older versions of `psql` do not send [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication) to the TLS server, which is required by the proxy. AFAIK SNI support should be enabled by default for `psql` clients version 14 and later, but if not, you may try [this configuration option](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLSNI) on the _client_ side.

---

_[View the full topic](https://community.fly.io/t/issue-with-ssl-certificate-for-postgres/22268)._
