The imqkeytool utility generates a self-signed certificate for secure communication. The certificate can be used by a broker instance to establish a secure connection with a client, or by an MQ-supplied HTTPS servlet to establish a secure connection with a broker instance. An HTTPS is an SSL-enabled varient of the HyperText Transfer Protocol that establishes a secure connection with a broker instance.
Without an option, imqkeytool operates a self-signed certificate for a broker instance.
imqkeytool uses command line options to specify whether the certificate is used by a broker instance or by a servlet.
The following options are supported:
Generate a self-signed certificate for the broker and places it in the MQ keystore. All broker instances running on a system must use the same certificate.
Display usage help. Do not execute anything else on the command line.
Generate a self-signed certificate for an HTTPS servlet and places it in keystore_location.
keystore_location refers to the location of the keystore. You should move this keystore to a location where it is accessible and readable by the MQ HTTPS servlet to establish a secure connection with a broker.
The following environment variables affect the execution of this command:
Specify the Java 2 compatible runtime. When this environment variable is not set it defaults to /usr/j2se.
Contains MQ keystore in which imqkeytool stores a self-signed certificate for brokers.
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
Sun ONE Message Queue Administrator's Guide