openstacknetsdk / openstack.net

An OpenStack Cloud SDK for Microsoft .NET
http://www.openstacknetsdk.org
Other
117 stars 101 forks source link

Intermediate certificate property has the wrong name in json #629

Closed gdau closed 8 years ago

gdau commented 8 years ago

I'm busy integrating this API with letsencrypt to auto-provision certs to a rackspace load balancer and am having issues using the ssltermination endoint.

When I inspect the traffic, I can see the intermediate certificate is being passed with the name "intermediatecertificate" but according to the Rackspace docs it should be "intermediateCertificate" (with a capital C). This is causing requests to update SSL termination to fail. It is the UpdateSslConfigurationAsync method I am using from the CloudLoadBalancerProvider class.

FYI the typo is on line 51 of LoadBalancerSslConfiguration.cs.

Thanks!

g

Update: I can confirm changing this as described above has fixed my error.

carolynvs commented 8 years ago

Thanks for reporting the bug and identifying the fix! I'll try to get an updated nuget package out today.

carolynvs commented 8 years ago

A fix for this is included in OpenStack.NET v1.7.5 which you can download from nuget.