VMware Horizon Community
jmp130
Contributor
Contributor

VMware Access Point Rest API

I can connect to https://appliance:9443/rest/swagger.yaml via a browser but not via Postman or cURL. Is there something else that is needed to make the connection work?

Labels (1)
Tags (1)
4 Replies
markbenson
VMware Employee
VMware Employee

You shouldn't need to do anything else. Can you give an example of a curl command you are using that is failing. What's the error?

Mark

Reply
0 Kudos
joshopper
Hot Shot
Hot Shot

I have found often in deploying the OVF that the admin credentials do not get properly set... set them manually and then see if you use Postman.Run the following on the AccessPoint server.

please replace 'password' with something secure :grinning_face_with_big_eyes:

echo 'adminPassword=password’ > /opt/vmware/gateway/conf/firstboot.properties

chown gateway /opt/vmware/gateway/conf/firstboot.properties

supervisorctl restart admin

Reply
0 Kudos
markbenson
VMware Employee
VMware Employee

Deploying Access Point using the PowerShell command reliably works as it validates the admin password automatically. See Using PowerShell to Deploy VMware Access Point

Mark

KaiKilka
Contributor
Contributor

Hi,

i have the same issue.. Password for admin User is complex enough. Connections on https://accesspointip are still ok.

Anyone some idea?

Best Regards,

Kai

Reply
0 Kudos