# Setup SSL within Postgresql-variable configuration node doubt

**URL:** <https://discourse.nodered.org/t/setup-ssl-within-postgresql-variable-configuration-node-doubt/20267>\
**Category:** General\
**Created:** [13 January 2020 16:28 UTC](https://discourse.nodered.org/t/setup-ssl-within-postgresql-variable-configuration-node-doubt/20267 "2020-01-13T16:28:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lenny1972](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lenny1972/32/13210_2.png) [@lenny1972](https://discourse.nodered.org/u/lenny1972)\
**Post date:** [13 January 2020 16:28 UTC](https://discourse.nodered.org/t/setup-ssl-within-postgresql-variable-configuration-node-doubt/20267/1 "2020-01-13T16:28:12Z")

</div>

Having to secure the Node-Red / PostgreSQL DB connection from sniffing I'm wondering if it will be sufficient - after configuring in the Postgres configuration file "SSL" option to "ON" and specifying the correct path (and permission) to .pem certificates on the server hosting the Postgres DB - to check the "SSL" checkbox in the Postgresql-variable configuration node.  
On the client side, do I have to specify in some kind the certificate or it's enough to declare it on the server-side??
