Feature #917

EC2 Signature: allow custom port when using an SSL Proxy

Added by Daniel Molina over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:10/13/2011
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:-
Target version:Release 3.4 - S0
Resolution:fixed Pull request:

Description

If the port in which the econe-server is listening (8443) is different from the default one when using an SSL proxy.

export EC2_URL=https://mycloud.entrypoint.org:8443/

Workaround
Try changing this line in the server code:

system-wide installation: /usr/lib/one/ruby/cloud/econe/EC2QueryServer.rb
self-contained installation: $ONE_LOCATION/lib/ruby/cloud/econe/EC2QueryServer.rb

@@ -71,7 +71,7 @@ class EC2QueryServer < CloudServer

        econe_port = @config[:port]

-        params.merge!({:econe_host => econe_host, :econe_port => econe_port})
+        params.merge!({:econe_host => econe_host, :econe_port => 8443})
        super(env, params)
    end

And the following econe-server configuration (econe.conf). Remember to
restart the service after these changes:

# Host and port where econe server will run
:server: localhost
:port: your_local_port

# SSL proxy that serves the API (set if is being used)
:ssl_server:  mycloud.entrypoint.org

Related issues

Related to Feature #985: Add path support for EC2 signature Closed 11/16/2011

History

#1 Updated by Ruben S. Montero over 9 years ago

  • Target version set to Release 3.4

#2 Updated by Ruben S. Montero over 9 years ago

  • Target version changed from Release 3.4 to Release 3.4 - S0

#3 Updated by Daniel Molina over 9 years ago

  • Status changed from New to Closed
  • Assignee set to Daniel Molina
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF