Using letsencrypt with postgresql I'm trying to use letsencrypt to generate certs in order to encrypt communication between a remote client and my postgresql database server. I'm not sure how to get started on setting this up. What kind of certs do I need for the client?  What cert files should I store on the server? 
I've gone through this documentation as reference but it's still unclear as to which certificates go where? 
Thanks in advance!

Edit: Some clarification since this question was put on hold: I was unsure of what to expect when trying to use letsencrypt. I understand the basics of ssl/tls. But I needed some clarification about whether the certs generated on the server need corresponding certs on the client. The accepted answer has since pointed me in the right direction and the linked postgresql documentation has helped as well.
I've found this article to be quite useful. Assuming you know how PostgreSQL HBA generally works (i.e., how pg_hba.conf and postgresql.conf work), you do the following:


start up certbot and have letsencrypt generate the cert where it
typically does create a script to let letsencrypt copy renewed
certs and keys to $PGDATA make sure postgresql.conf and
pg_hba.conf are configured properly restart Postgres. done