Synopsis
maketoken [ -d Slot-directory ] -s SlotID [ -t TokenLabel ] |
Description
The maketoken command generates a token and embeds it in a slot.
The SO-PIN and user PIN to be set in the token are entered interactively.
Options that can be specified are shown below.
Execution of this command generates an FLM03 device model token.
To enable the generated token in an application program that is already started, the application program must be restarted.
Options
-d Slot-directory
Specify the full path of the slot information directory (Slot-directory).
An error occurs if the specified slot information directory does not exist and the command ends abnormally.
-s SlotID
Use the slot ID option (SlotID) to specify the slot where the token being generated will be embedded.
Specify the slot ID that was displayed when the makeslot command was executed.
-t TokenLabel
Specify 32 characters or less as the token label (TokenLabel) to be set for the generated token.
A token label is the character string information to identify a token.
If less than 32 characters are specified, the label is padded with spaces.
The space character cannot be specified at the start of the character string.
If this option is omitted, Token + lower two digits of the slot number (if the slot number is 1, Token01) is assumed as the specification.
Command Location
Windows | %ProgramFiles%\SecurecryptoLibraryR\PROGRAM\bin |
Solaris | /opt/FJSVsclr/bin |
Linux | /opt/FJSVsclr/bin |
Linux x64 | /opt/FJSVsclr64/bin |
Cautions
For the token label, specify up to 32 characters from the character sets shown below. If the specified character string does not fulfill these conditions, the command ends abnormally.
For a SO-PIN and User-PIN, specify between 6 and 128 characters from the character sets shown below.
Category | Characters |
---|---|
Alphabetic | A to Z |
Numeric | 0 to 9 |
Symbols | !"#%&'()*+,-./:;<=>?[\]^_{|}~ |
Space | ' ' |
Manage passwords in a way that prevents leaks and theft.
Also, for a SO-PIN or User-PIN, do not set character strings that consist of easily guessed names or words or in which all the same characters are used. Character strings that use a mix of alphanumerics and symbols and are as long as possible are recommended.
The specified token label and User-PIN might need to be specified when building service environments or starting service operations, so do not forget them.
Example
[Windows]
maketoken -d d:\sslenv\slot -s 1 -t token |
[Solaris] [Linux]
# maketoken -d /export/home/slot -s 1 -t token |
*1) Enter the slot password that was entered when the makeslot command was executed. The slot password is not displayed.
*2) Enter to set the SO-PIN (administrator's PIN) in the token. The SO-PIN is not displayed.
*3) Enter to set the user PIN in the token. The user PIN is not displayed.