You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Eric DuToit <er...@gmail.com> on 2010/04/09 00:51:34 UTC

Having difficulty using keytool -genkey to get a key with blank OU (instead of unknown)

I need to generate a keypair with the OU having a NULL value / blank
(instead of "Unknown").  If I leave the field blank, it results in an
unknown value.

I've googled several different things but I may just not be using the
right search.  Any help is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having difficulty using keytool -genkey to get a key with blank OU (instead of unknown)

Posted by Eric DuToit <er...@gmail.com>.
On Thu, Apr 8, 2010 at 8:32 PM, Goo Sam Kong <sk...@gmail.com> wrote:
>
> Try to put the subject DN (with OU equal to blank) in -dname field as below.
>
> keytool -genkey -keystore <keystoreFile> -storepass <password> -alias
> <keyAlias> -dname "CN=your cn,OU=,O=your company,C=SG"

Your solution worked.  Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having difficulty using keytool -genkey to get a key with blank OU (instead of unknown)

Posted by Goo Sam Kong <sk...@gmail.com>.
Hi Eric,

Try to put the subject DN (with OU equal to blank) in -dname field as below.

keytool -genkey -keystore <keystoreFile> -storepass <password> -alias
<keyAlias> -dname "CN=your cn,OU=,O=your company,C=SG"

On 9 April 2010 06:51, Eric DuToit <er...@gmail.com> wrote:
> I need to generate a keypair with the OU having a NULL value / blank
> (instead of "Unknown").  If I leave the field blank, it results in an
> unknown value.
>
> I've googled several different things but I may just not be using the
> right search.  Any help is appreciated.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org