I am trying to connect Azure Postgres instance with SSL enabled. My understanding is if SSL enabled, I must provide certificate for authentication but it allow me to connect without passing any certificate.
I am using below command:-
psql "host=ServerName.postgres.database.azure.com port=5432 dbname=postgres user=postgres@ServerName password=Password"
if we don't pass SSLmode, psql try for SSL first but my question how does it get certificate to initiate connection to SSL enabled Postgres.