Question: pq ssl is not enabled on the server?
Answer: The SSL is not enabled on the server error occurs when you try to connect to a database with sslmode set to required in your code while the server doesn't have it enabled. By default, sslmode is set to required with lib/pq , so you need to actually specify another setting to fix this.