Configuring TLS settings in Azure Database for PostgreSQL Single - server using Azure portal
This article describes how you can configure an Azure Database for PostgreSQL to enforce minimum TLS version allowed for connections and deny all connections with lower TLS version than configured minimum TLS version thereby enhancing the network security.
You can enforce TLS version for connecting to their Azure Database for PostgreSQL. Customers now have a choice to set the minimum TLS version for their database server. For example, setting the minimum TLS setting version to TLS 1.0 means your server will allow connections from clients using TLS 1.0, 1.1, and 1.2+. Instead, setting minimum tls version to 1.2+ means you only allow connections from clients using TLS 1.2 and all connections with TLS 1.0 and TLS 1.1 will be rejected.
To complete this how-to guide, you need:
Set TLS configurations for Azure Database for PostgreSQL - Single server
Follow these steps to set PostgreSQL minimum TLS version:
In the Azure portal, select your existing Azure Database for PostgreSQL.
On the Azure Database for PostgreSQL - Single server page, under Settings, click Connection security to open the connection security configuration page.
In Minimum TLS version, select 1.2 to deny connections with TLS version less than TLS 1.2 for your PostgreSQL Single server.
Click Save to save the changes.
A notification will confirm that connection security setting was successfully enabled.
Learn about how to create alerts on metrics