You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2015/02/11 04:45:12 UTC

[jira] [Commented] (KNOX-497) Update user guide (v.5) - knoxcli.sh create-alias requires options 'value' or 'generate'

    [ https://issues.apache.org/jira/browse/KNOX-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315531#comment-14315531 ] 

Larry McCay commented on KNOX-497:
----------------------------------

create-alias should not require either value or generate options.
If you are running in a script that does not have access to a java console then you may need to use one or the other.

We can take a look at make this more clear in the docs though.
Thanks for the contribution!

>  Update user guide (v.5) - knoxcli.sh create-alias requires options 'value' or 'generate'
> -----------------------------------------------------------------------------------------
>
>                 Key: KNOX-497
>                 URL: https://issues.apache.org/jira/browse/KNOX-497
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Kristopher Kane
>            Priority: Minor
>
> In the user guide there is a section that describes how to generate certs and import with the keytool.  This section also includes an example of how to create an alias:
> bin/knoxcli.sh create-alias gateway-identity-passphrase
> It should be updated with the '--value' option
> The 'man' definition for this farther down in the document and under 'Alias Creation' states these are optional arguments but one of the two is required.  
>  
> The formatting of the HTML makes the hyphen look singular when it should be 
> double.  I'm viewing this on Windows 7/Chrome/IE with no changes to fonts.  The resulting exception shows the correct double hyphen:
> java.lang.IllegalArgumentException: No value has been set. Consider setting --generate or --value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)