chkeyserver

Use the chkeyserver command to change the attributes for a key server object.

Syntax

Read syntax diagramSkip visual syntax diagram chkeyserver -ipip_address_or_domain_name-portport-sslcertcertificate_file-nosslcert-name-primary object_idobject_name

Parameters

-ip ip_address_or_domain_name
(Required) Specifies the key server's IP address or domain name. This must be a valid IPv4 or IPv6 address, or a fully qualified domain name. IPv6 addresses can be zero compressed. If you specify a fully qualified domain name, a DNS server must be configured on your system. You can use the mkdnsserver command to configure DNS servers.
-port port
(Optional) Specifies the key server's TCP/IP port. The value must be a number 1 - 65535. The default value is the same as the default port used for key servers of the currently enabled type.
-sslcert certificate_file
(Optional) Specifies the key server's internally-signed certificate. The value must be a file path string.
-nosslcert
(Optional) Specifies the removal of the key server internally-signed certificate.
-name
(Optional) Specifies the key server object name. The value must be an alphanumeric string.
-primary
(Optional) Specifies the primary key server.
object_id | object_name
(Required) Specifies the object name or ID that you want to modify.

Description

This command changes the attributes for a key server object.

When a primary key server is configured, that key server must be defined before a rekey operation occurs. A primary object (such as a server) can be configured at any time when a defined primary server is present. A rekey operation without a defined primary key server fails.

An invocation example

chkeyserver -primary vardy2

The resulting output:

No feedback