Re: Automating keytool -genkey



O.B. wrote:
> I'd like to automate keystore generation. From viewing the keytool's
> help, it is not documented how to set the First/Last Name, Org Unit,
> Organization, City, State, and Country via command line.
>
> Currently, I'm having to execute:
> /java/bin/keytool -genkey -alias serverkeys -keyalg RSA -keystore
> server.keystore -storepass password -keypass password
>
> And then handle the inputstream prompts as they are presented by the
> tool. I'd rather have the capability have this all in one command with
> no interaction required. Help?

Check the -dname option and RFC 1779 for formatting information
(http://www.faqs.org/rfcs/rfc1779.html).
.



Relevant Pages

  • Automating keytool -genkey
    ... From viewing the keytool's help, it is not documented how to set the First/Last Name, Org Unit, Organization, City, State, and Country via command line. ... I'd rather have the capability have this all in one command with no interaction required. ...
    (comp.lang.java.programmer)
  • Re: close network file while open
    ... currently viewing it, it closes anyway? ... either via the Computer Management console or command line ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: Excel - viewing hidden rows
    ... "Stefi" wrote: ... Private Sub Worksheet_SelectionChange ... So, if I go to D1, is there a command that will open the row for viewing? ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Viewing intermediate variable value within a process in ModelSim
    ... For troubleshooting the design, I am ... I realize this rules out any viewing in a wave window. ... I can add it by name with an "add wave" command. ...
    (comp.lang.vhdl)
  • Re: Excel - viewing hidden rows
    ... This will unhide the row you entered in Go-To. ... So, if I go to D1, is there a command that will open the row for viewing? ...
    (microsoft.public.excel.worksheet.functions)