VMware Communities
dojocloud
Contributor
Contributor

vCloud 9.5 API - does it need SSL Certification (i.e. HTTPS)

Hello,

I'm working with vCloud Director and trying to use the 9.5 API. My simple  http://<hostnam.com>/api/versions command works fine and sends back a list of versions. When I attempt to get sessions (./api/sessions) using http:// and Basic Authentication, it is failing. All the documentation I've seen such as vCloud Director API - VMware API Explorer - VMware {code} (see the section: Using the vCloud API with vCloud Director) specifies examples using HTTPS. Is HTTPS a mandatory requirement for using the vCloud API ?

Tags (1)
2 Replies
sk84
Expert
Expert

Yes, HTTPs is a requirement for any client connection. No matter whether it is the Web GUI, console proxy or API.

This can be seen in the API examples and is also indirectly in the Release Notes:

vCloud Director requires client connections to be secure.

vCloud Director 9.5 for Service Providers Release Notes

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
dojocloud
Contributor
Contributor

Thanks for the quick reply. ( I felt the same way) Smiley Happy

0 Kudos