Feature #925

Update EC2 signature generation in order to support custom SSL ports and paths

Added by Daniel Molina 7 months ago. Updated 4 months ago.

Status:Closed Start date:10/18/2011
Priority:Normal Due date:
Assignee:Daniel Molina % Done:

100%

Category:EC2
Target version:Release 3.4 - S0
Resolution:fixed
Story points-
Velocity based estimate-

Description

PATH:

diff --git a/src/cloud/common/CloudAuth/EC2CloudAuth.rb b/src/cloud/common/Cloud
index fe8321f..4666f0a 100644
--- a/src/cloud/common/CloudAuth/EC2CloudAuth.rb
+++ b/src/cloud/common/CloudAuth/EC2CloudAuth.rb
@@ -70,7 +70,8 @@ module EC2CloudAuth
        canonical_str = AWS.canonical_string(
                                params,
                                server_str,
-                                env['REQUEST_METHOD'])
+                                env['REQUEST_METHOD'],
+                                "the_path")

Custom PORT:

@@ -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 => custom_port})
        super(env, params)
    end

Related issues

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

History

Updated by Daniel Molina 7 months ago

  • Description updated (diff)

Updated by Daniel Molina 4 months ago

  • Status changed from New to Closed
  • Assignee set to Daniel Molina
  • Target version set to Release 3.4 - S0
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF