首页 > 解决方案 > NSX Manager - 无法使用安装期间设置的“管理员”用户和密码访问 API

问题描述

我使用 VMware 提供的 OVF 映像安装了 NSX Manager。在安装过程中,我必须提供 2 个密码,一个用于 CLI,另一个用于特权模式。安装后,我可以通过 Web 客户端登录到 NSX Manager,但是当我尝试访问它的 API 时,它会以 403 响应。

我试图访问基本身份验证 GET API。

curl -sik -u 'username' -H ‘Content-Type: application/xml’ -X GET https://hostname/2.0/services/auth/basic

Full authentication is required to access this resource The server understood the request but refuses to authorize it.

可能是什么问题?

标签: vmware

解决方案


推荐阅读