Name | Synopsis | Description | Options | Examples | Exit Status | See Also
create-selfsigned-cert <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--org-unit|-o unit] [--state|-a name] [--locality|-l place] [--token|-t name] [--token-pin|-P pin] [-validity|-d num of months] [--org|-g org] [--country|-y name] [--key-type|-k (rsa|ecc)] [--key-size|-z size] [--curve|-r curvename] [--alt-server-name| -A dns-name] --config|-c config-name --server-name|-s name --nickname|-n nickname
Use this command to create a new self-signed certificate.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the token (cryptographic device) name, which contains the encrypted public key.
Specify the Personal Identification Number (PIN) required to initialize the token. You can also define the token-pin in the password file.
Enter a description of an organizational unit within your company.
Enter a description of the city, principality, or country of the organization.
Specify the state or province where the business is located.
Specify the validity of the certificate.
Enter the official name of your company, educational institution, or organization.
Enter a two-character abbreviation of your country's name (in ISO format). For example, the country code for the United States is US.
Specify the type of the certificate key. The key types can be rsa or ecc.
Specify the size of certificate key. This option is applicable only if the key-type is rsa. The key size can be 1024, 2048 or 4098.
Specify the name of key curve. This option is applicable if you specify the key-type as ecc. The key curves can be prime256v1, secp256r1, nistp256, secp256k1, secp384r1, nistp384, secp521r1, nistp521, sect163k1, nistk163, sect163r1, sect163r2, nistb163, sect193r1, sect193r2, sect233k1, nistk233k1, nistk233, sect233r1, nistb233, sect239k1, sect283k1, nistk283, sect283r1, nistb283, sect409k1, nistk409, sect571k1, nistk571, sect571r1, nistb571, secp160k1, secp160r1, secp160r2, secp192k1, secp192r1, nistp192, secp224k1, secp224r1, nistp224 or prime192v1.
Specify the name of the configuration for which you want to create the certificate.
Specify the host name of the server for which you are creating a self-signed certificate.
(This option is deprecated. A list of domain names can be added in the server name, separated by commas.) Specify the domain names of the host provided in the server-name option.
Enter a nick name for the certificate that you want to create.
wadm create-selfsigned-cert --user=admin --port=8989 --password-file=../admin.pwd --config=config1 --token=internal --org-unit=org1 --locality=XYZ --state=DEF --validity=10 --org=sun --country=ABC --server-name=serverhost --nickname=cert1 |
The following exit values are returned:
command executed successfully
error in executing the command
Name | Synopsis | Description | Options | Examples | Exit Status | See Also