Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in IAM cert upload api #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/elb/elb_interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def create_load_balancer(name, availability_zones, listeners)
params["Listeners.member.#{i}.Protocol"] = "#{l[:protocol]}"
params["Listeners.member.#{i}.LoadBalancerPort"] = "#{l[:load_balancer_port]}"
params["Listeners.member.#{i}.InstancePort"] = "#{l[:instance_port]}"
params["Listeners.member.#{i}.SSLCertificateId"] = "#{l[:ssl_certificate_id]}"
i += 1
end
params['LoadBalancerName'] = name
Expand Down Expand Up @@ -363,4 +364,4 @@ def reset
end


end
end
4 changes: 2 additions & 2 deletions lib/iam/iam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def upload_server_certificate(name, public_key, private_key, options={})

p params

resp = do_request("UploadServerCertificate", params, :pull_out_array=>[:list_server_certificates_result, :server_certificate_metadata_list])
resp = do_request("UploadServerCertificate", params, :pull_out_array=>[:upload_server_certificate_result, :server_certificate_metadata])


rescue Exception
Expand All @@ -117,4 +117,4 @@ def upload_server_certificate(name, public_key, private_key, options={})
end


end
end