Search code examples
amazon-rdsasp.net-core-3.1npgsqlamazon-rds-proxy

RDS Proxy currently doesn’t support the option ssl_renegotiation_limit


I'm trying to connect to RDS PostgreSQL Proxy with enabled "Require Transport Layer Security" from .NET Core 3.1 Web API, using Npgsql 3.1.2

When I set SSLMode=Require in ConnectionString, I receive "RDS Proxy currently doesn’t support the option ssl_renegotiation_limit.". There was no problem setting up the SSL connection to the DB instance before introducing the proxy.


Solution

  • Newer versions of Npgsql no longer attempt to set ssl_renegotiation_limit. As Npgsql 3.1.2 was released in 2016, I'd highly recommend upgrading.