Home > OS >  Not able to connect Azure PostgreSQL using Azure Data Studio with SSL enabled
Not able to connect Azure PostgreSQL using Azure Data Studio with SSL enabled

Time:11-28

trying to connect to Azure PostgreSQL with SSL enabled using Azure Data Studio or pgAdmin4 with SSL Mode=Verfiy-full, i get below error

root certificate file does not exist Either provide the file or change sslmode to disable server certificate verification and went to use SSL. enter image description here

enter image description here

Suggest me the configuration.

Azure PostgreSQL using Azure Data Studio / pgAdmin4 with SSL enabled

CodePudding user response:

In both the cases Azure Data Studio / PgAdmin4 it will through error because, Azure PostgreSQL server enable SSL default on server Solution and basic steps to avoid the errors while connecting Postgres database via pgAdmin4 or Data Studio.

  1. Keep SSL mode = Allow, no more fields to be filed. enter image description here

  2. If we are using Azure AD login, make sure we are enabling Azure AD admin on portal enter image description here

  3. Allow Internal Ip address into firewall and allow inbound traffic with 5432 default port. enter image description here

  • Related