creatednskey

Use this method to creates a public-private key pair to use for signing a DNS zone. The keys are created in the /nsconfig/dns/ directory on the Citrix ADC. The private, pubic, and DS key files are created with names having the format ..

Syntax



Parameters

zonename

Name of the zone for which to create a key.
This is mandatory parameter.

keytype

Type of key to create.
This is mandatory parameter.
Default value = NS_DNSKEY_ZSK.

algorithm

Algorithm to generate the key.
This is mandatory parameter.
Default value = NS_DNSKEYALGO_RSASHA1.

keysize

Size of the key, in bits.
This is mandatory parameter.
Default value = 512.
Minimum value = 1.
Maximum value = 4096.

filenameprefix

Common prefix for the names of the generated public and private key files and the Delegation Signer (DS) resource record. During key generation, the .key, .private, and .ds suffixes are appended automatically to the file name prefix to produce the names of the public key, the private key, and the DS record, respectively.
This is mandatory parameter.

password

Passphrase for reading the encrypted public/private DNS keys

Return Value

Returns simpleResult

See Also