我正在尝试在虚拟机部署上本地设置新的openshift原始环境。我为此操作所遵循的教程是here,它运行正常。我现在正尝试在虚拟环境中安装客户端工具,然后设置我的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,但是我收到了同样的错误。
为了使这项工作正常,我需要做些什么?感谢您提供的任何帮助。