我正在尝试在 virtualbox 部署上本地设置新的 openshift 源环境。我在此操作中遵循的教程可在此处找到,并且运行良好。我现在正在尝试在虚拟环境中安装客户端工具,然后设置我的 rhc 配置。我已经安装了所有东西,并且正在运行以下命令“rhc setup --debug”。
以下是我的输出,其中包含错误:
[vagrant@origin ~]$ rhc setup --debug
DEBUG: Using config file /home/vagrant/.openshift/express.conf
DEBUG: Running greeting_stage
OpenShift Client Tools (RHC) Setup Wizard
This wizard will help you upload your SSH keys, set your
application namespace, and check that other programs like
Git are properly installed.
DEBUG: Running server_stage
If you have your own OpenShift server, you can specify it now.
Just hit enter to use the server for OpenShift
Online: openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com| localhost:8443
You can add more servers later using 'rhc server'.
DEBUG: Running login_stage
DEBUG: Connecting to https://localhost:8443/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://localhost:8443/broker/rest/api
DEBUG: SSL Verification failed -- Using self signed cert
DEBUG: Certificate validation failed: self signed certificate
The server's certificate is self-signed, which means that a
secure connection can't be established to
'localhost:8443'.
You may bypass this check, but any data you send to the server
could be intercepted by others.
Connect without checking the certificate? (yes|no): yes
DEBUG: Connecting to https://localhost:8443/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://localhost:8443/broker/rest/api
DEBUG: SSL Verification failed -- Using self signed cert
DEBUG: code 403 28 ms
You are not authorized to perform this operation.
我也尝试使用 -l admin 传递用户名,使用 -p admin 传递密码,但我收到相同的错误。
我需要做些什么不同的事情才能使其正常工作?感谢您提供的任何帮助。