[openstack-dev] Barbican :Regarding the response of CURL GET command on LOAD Balancer configured on HTTPS

Asha Seshagiri asha.seshagiri at gmail.com
Sun Jan 10 07:57:07 UTC 2016


Hi All ,

Barbican server is interfaced with the Load Balancer configured with
HTTPS.The curl calls are made to the Load Balancer URL and not to the
actual barbican node directly
Hence I have modified the barbican.conf file with load balancer URL as
given below :

#  communicate back with this service.
*host_href = https://load.softlayer.com:9311
<https://load.softlayer.com:9311>*


CURL call made to Load Balancer URL returns the HTTP response rather than
HTTPS response.Please find the CURL command and response below :

[asha ~]$ curl -X GET https://load.softlayer.com:9311 -H "Accept:
application/json" -H "User-Agent:keystoneauth1/2.0.1"
{"versions": {"values": [{"status": "stable", "updated":
"2015-04-28T00:00:00Z", "media-types": [{"base": "application/json",
"type": "application/vnd.openstack.key-manager-v1+json"}], "id": "v1",
"links":
[{*"href": "http://load.softlayer.com:9311/v1/
<http://load.softlayer.com:9311/v1/>"*, "rel": "self"}, {"href": "
http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}]}}

Would like to know the reason behind the curl returning the href value with
HTTP response eventhough the request is made tp HTTPS configured LOAD
BALANCER .
In other words why href value is not returned as
*"https://load.softlayer.com:9311/v1/
<https://load.softlayer.com:9311/v1/>" .*

*Is this bug in Barbican?*

Any response and help would highly be appreciated.
-- 
*Thanks and Regards,*
*Asha Seshagiri*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160110/2cf6e8c9/attachment.html>


More information about the OpenStack-dev mailing list