cat >> /postgresql/pgdata/postgresql.conf << "EOF" ssl = on ssl_cert_file = '/home/postgres/openssl/server.crt' ssl_key_file = '/home/postgres/openssl/server.key' EOF