Use the chkeyserver command to change the attributes for a key server
object.
Syntax
chkeyserver [ -ipip_address ] [ -portport ] [ -sslcertcertificate_file ] [ -nosslcert ] [ -name ] [ -primary ] { object_id | object_name }
Parameters
- -ipip_address
- (Optional) Specifies the key server's IP address. The value must be in the form of a
standard Internet Protocol version 4 (IPv4) or Internet Protocol version 6 (IPv6)
address.
- -portport
- (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.
- -sslcertcertificate_file
- (Optional) Specifies the key server's self-signed certificate. The value must be a file
path string.
- -nosslcert
- (Optional) Specifies the removal of the key server self-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
An invocation example
chkeyserver -name zlatibr4
The resulting output:
No feedback
An invocation example
chkeyserver -sslcert /tmp/yourcert.pem 0
The resulting output:
No feedback