8.3.5 selfsignedkeygen.bat (creating a secret key)
- Organization of this subsection
(1) Function
Creates a secret key to be used for immediate use of JP1/DH - Server for purposes such as testing and evaluation.
(2) Executor
A user with a built-in Administrator account or with Administrator permissions executes the command from the command prompt.#
- #
-
Do not execute a command directly. Use the command prompt to execute a command.
(3) Format
selfsignedkeygen.bat -out secret-key-file -[bits {512|1024|2048|4096}]
(4) Arguments
- -out secret-key-file
-
Specify the file to which the created secret key is output.
- -bits {512|1024|2048|4096}
-
Specify the bit length of a secret key to be created. The values that you can specify are as follows:
512, 1024, 2048, 4096
If you omit this argument, 1024 is used.
(5) Execution results
A secret key file is created in the folder specified for -out.
(6) Notes on using the command
Do not execute a command directly. Use the command prompt to execute a command.
If you have enabled UAC (User Account Control) in the operating system, use one of the following ways to execute a command:
-
Log in as a built-in Administrator user, start the command prompt, and then execute a command.
-
Log in as a user with Administrator permissions, start the command prompt by clicking Run as Administrator, and then execute a command.
-
Execute a command from a shortcut for the command prompt with the elevated privileges created at the time of JP1/DH - Server installation.#
- #
-
If you use a command prompt in this way in Windows Server 2012 or Windows Server 2012 R2, you need to install Microsoft .NET Framework 3.5. For details about how to install Microsoft .NET Framework 3.5, see D. Installing .NET Framework 3.5.
Simultaneous executions of commands on the same machine are not supported.