Postgres is encrypted by default (SSL off), in this video, I show how to enable TLS/SSL on Postgres instance and connect to it from pgadmin
Intro
Start a Postgres Docker Container
Start a pgAdmin Docker Container
Connect to Postgres from pgAdmin (unsecure)
Enable SSL/TLS on Postgres
Generate Self signed Certificate and private key
Setting Permissions
Connect to Postgres with TLS (secure)
#postgresql