PR https://github.com/openshift/rhc/pull/659 I am not sure what Wang Yanyan meant by the first point in Expected Results of bz1155347. I've fixed the second point which I thinks is more important to check
(In reply to Zamir SUN from comment #1) > of bz1155347. I've fixed the second point which I thinks is more important Typo, I mean bz1155003
(In reply to Zamir SUN from comment #2) > (In reply to Zamir SUN from comment #1) > > of bz1155347. I've fixed the second point which I thinks is more important > > Typo, I mean bz1155003 First point is : When user run "rhc server add", show the help below : # rhc server add Missing required argument 'hostname'. Usage: rhc server-add <hostname> [<nickname>] [--rhlogin LOGIN] [--[no-]use-authorization-tokens] [--[no-]insecure] [--use] [--skip-wizard] [--timeout SECONDS] [--ssl-ca-file FILE] [--ssl-client-cert-file FILE] [--sol-client-key-file FILE] [--ssl-version VERSION] Pass '--help' to see the full list of options Now miss [--sol-client-key-file FILE] parameter
(In reply to wangyanyan from comment #3) > (In reply to Zamir SUN from comment #2) > > (In reply to Zamir SUN from comment #1) > > Now miss [--sol-client-key-file FILE] parameter Thanks for your reply. Updated to the PR.
*** Bug 1155345 has been marked as a duplicate of this bug. ***
Tested on devenv_5745, the bug has been fixed. Steps to test: 1. Check the help info for server add, there is option --ssl-client-key-file : #rhc server add -h --ssl-client-key-file An RSA client certificate key 2.When providing 1 or 2 options of the 3 options:--ssl-ca-file, --ssl-client-cert-file, and --ssl-client-key-file , there will be error info explaining that all three are required. 2.1 # rhc server add ip-172-18-13-246 --ssl-ca-file /tmp/ca.crt You must use the --ssl-ca-file, --ssl-client-cert-file, and --ssl-client-key-file commands together. Usage: rhc server-add <hostname> [<nickname>] [--rhlogin LOGIN] [--[no-]use-authorization-tokens] [--[no-]insecure] [--use] [--skip-wizard] [--timeout SECONDS] [--ssl-ca-file FILE] [--ssl-client-cert-file FILE] [--ssl-client-key-file FILE] [--ssl-version VERSION] Pass '--help' to see the full list of options 2.2 # rhc server add ip-172-18-13-246 --ssl-ca-file /tmp/ca.crt --ssl-client-cert-file /tmp/ca1.crt You must use the --ssl-ca-file, --ssl-client-cert-file, and --ssl-client-key-file commands together. Usage: rhc server-add <hostname> [<nickname>] [--rhlogin LOGIN] [--[no-]use-authorization-tokens] [--[no-]insecure] [--use] [--skip-wizard] [--timeout SECONDS] [--ssl-ca-file FILE] [--ssl-client-cert-file FILE] [--ssl-client-key-file FILE] [--ssl-version VERSION] Pass '--help' to see the full list of options 2.3 # rhc server add ip-172-18-13-246 --ssl-ca-file /tmp/ca.crt --ssl-client-key-file .ssh/id_rsa You must use the --ssl-ca-file, --ssl-client-cert-file, and --ssl-client-key-file commands together. Usage: rhc server-add <hostname> [<nickname>] [--rhlogin LOGIN] [--[no-]use-authorization-tokens] [--[no-]insecure] [--use] [--skip-wizard] [--timeout SECONDS] [--ssl-ca-file FILE] [--ssl-client-cert-file FILE] [--ssl-client-key-file FILE] [--ssl-version VERSION] Pass '--help' to see the full list of options
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.