Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Enable SSL from Postgres

Enable SSL from Postgres

Scheduled Pinned Locked Moved Solved Support
postgresql
6 Posts 2 Posters 541 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bennyv53
    wrote on last edited by joseph
    #1

    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:

    1. Steps required to enable SSL for PostgreSQL within the Cloudron environment.
    2. Any configuration changes needed for the PostgreSQL instance or any Cloudron-specific settings.
    3. 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.

    J 1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #3

        Per https://github.com/glebarez/pgssl?tab=readme-ov-file#motivation , "PostgreSQL listens to both plain and SSL connections on a single port" . Looks like PostgreSQL can do ssl and non-ssl at the same time.

        1 Reply Last reply
        0
        • B bennyv53

          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:

          1. Steps required to enable SSL for PostgreSQL within the Cloudron environment.
          2. Any configuration changes needed for the PostgreSQL instance or any Cloudron-specific settings.
          3. 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.

          J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          @bennyv53 said in Enable SSL from Postgres:

          but one of the tools we are using requires ssl

          It this somethign you can share here? Maybe there is a workaround specific to the tool .

          B 1 Reply Last reply
          0
          • J joseph

            @bennyv53 said in Enable SSL from Postgres:

            but one of the tools we are using requires ssl

            It this somethign you can share here? Maybe there is a workaround specific to the tool .

            B Offline
            B Offline
            bennyv53
            wrote on last edited by
            #5

            @joseph - We are using glideapps.com, and it tries to connect Postgres using SSH or SSL/TLS. We don't want to use SSH, so we tried SSL/TLS, but glide keeps throwing the error related to SSL.

            Let me know, if you need more details.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote on last edited by joseph
              #6

              @bennyv53 I recommend using ssh then (SSL support for internal postgres will break Cloudron's setup). Is the concern security related?

              1 Reply Last reply
              0
              • girishG girish has marked this topic as solved on
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search