Я не могу настроить свой сервер с помощью настройки rhc. Это мой результат
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
DEBUG: Running login_stage
DEBUG: Connecting to https://cluster01vt.office.noris.gr: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://cluster01vt.office.noris.gr: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 'cluster01vt.office.noris.gr: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): y
DEBUG: Connecting to https://cluster01vt.office.noris.gr: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://cluster01vt.office.noris.gr:8443/broker/rest/api
DEBUG: SSL Verification failed -- Using self signed cert
DEBUG: code 403 16 ms
You are not authorized to perform this operation.
Имейте в виду, что я получаю сообщение об ошибке 403 при попытке зайти на страницу в моем браузере. Ответ JSON:
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "User \"system:anonymous\" cannot \"get\" on \"/broker/rest/api\"",
"reason": "Forbidden",
"details": {},
"code": 403
}
Почему rhc не спрашивает у меня учетные данные? Любые идеи?
rhc
это утилита командной строки для старой версии OpenShift.
Вам нужно использовать oc
вместо. Увидеть документы.