Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-381

Gfsh using https connections does not work in environments with SSL termination

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0-incubating
    • 1.0.0-incubating.M1
    • management

    Description

      In Cloud Foundry we have SSL termination, i.e. our transport path looks something like this:

         gfsh <---- https ---->  ELB  <---- http ----> Cluster
      

      Where ELB is an Elastic Load Balancer or HAProxy.

      When attempting to connect using a https URL, the following occurs:

      gfsh>connect --use-http --url=https://gf-plan-1-dashboard-253bff71-a09b-4f1a-49fb-ef6b13c39c34.gf1.pcf-gemfire.com/gemfire/v1
      Successfully connected to: GemFire Manager HTTP service @ https://gf-plan-1-dashboard-253bff71-a09b-4f1a-49fb-ef6b13c39c34.gf1.pcf-gemfire.com/gemfire/v1
      
      gfsh>
      No longer connected to GemFire Manager HTTP service @ https://gf-plan-1-dashboard-253bff71-a09b-4f1a-49fb-ef6b13c39c34.gf1.pcf-gemfire.com/gemfire/v1.
      gfsh>
      Exiting...
      

      The problem is that gfsh retrieves meta-information consisting of an index of commands mapped to URL endpoints. Even though an initial https connection is made, the URLs returned in the index are http URLs.

      Attachments

        Activity

          People

            jens.deppe Jens Deppe
            jens.deppe Jens Deppe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: