Enable SSL from Postgres
-
Hello there,
I am currently running a PostgreSQL instance on my server using Cloudron, as part of baserow and I would like to understand the process for enabling SSL on this PostgreSQL service. Could anyone please provide guidance on how to configure SSL for the PostgreSQL instance to ensure secure connections?
We have been able to connect to the postgres server via SSH but one of the tools we are using requires ssl.
Specifically, I would appreciate details on the following:
- Steps required to enable SSL for PostgreSQL within the Cloudron environment.
- Any configuration changes needed for the PostgreSQL instance or any Cloudron-specific settings.
- How to obtain and apply the necessary SSL certificates, if required.
Assistance in this matter would be greatly appreciated. Please let me know if any additional details required from my side.
-
@bennyv53 the PostgreSQL service is primarily for use by apps and not meant to be public facing. There is no mechanism to make it public facing. AFAIK, postgresl can only listen on SSL or plain and not both viceversa. Switching over the internal postgres to SSL would make it not work with any of the apps since the apps are configured with SSL connection.
-