vmware - 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.
可能是什么问题?
解决方案
推荐阅读
- java - Iota java api 无法找到请求目标的有效认证路径
- android - 仪表测试与层次结构中的视图 ID 不匹配
- swift - 如何在 UICollectionViewCell 中添加动画
- android - host.exp.exponent.MainApplication: java.lang.RuntimeException: NativeModuleDepsProvider 找不到类 host.exp.exponent.p 的对象
- vim - 命令字符串的 vim 键映射,例如 9:s/pat/sub/ge
: - python - Django:如何添加复选框?
- flutter - 如何在 Flutter 中将 ListView 中的项目覆盖到整个屏幕
- javascript - JS - mouseover 和 mouseout 事件是不稳定的
- javascript - Observable 不会在路由器更改时加载数据
- firebase - Vaadin Flow 中的 Firebase 身份验证