+

Search Tips   |   Advanced Search

WSCertExpMonitorCommands

Use the Jython or Jacl scripting languages to configure security with the wsadmin tool. The commands in the WSCertExpMonitorCommands group can be used to start or update the certificate expiration monitor.

The WSCertExpMonitorCommands command group for the AdminTask objectcommands include:


createWSCertExpMonitor

Create the certificate expiration monitor settings in the configuration.

Target object: None.

Required parameters and return values

-name

The name that uniquely identifies the certificate expiration monitor. (String, required)

-autoReplace

Set value to true to replace a certificate within a certificate expiration date. If not, set value to false. (Boolean, required)

-deleteOld

Set value to true to delete an old certificate during certificate expiration monitoring. If not, set value to false. (Boolean, required)

-daysBeforeNotification

The number of days before a certificate expires to be notified of the expiration. (Integer, required)

-wsScheduleName

The name of the scheduler to use for certificate expiration. (String, required)

-wsNotificationName

The name of the notifier to use for certificate expiration. (String, required)

-isEnabled

Set value to true if the certificate expiration monitor is enabled. If not, set value to false. (Boolean, optional)

Examples

Batch mode example usage:

Interactive mode example usage:


deleteWSCertExpMonitor

Delete the settings of a scheduler from the configuration.

Target object: None.

Required parameters and return values

-name

The name that uniquely identifies the certificate expiration monitor. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:


getWSCertExpMonitor

Display the settings of a particular scheduler.

Target object: None.

Required parameters and return values

-name

The name that uniquely identifies the certificate expiration monitor. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:


listWSCertExpMonitor

List the scheduler in the configuration.

Target object: None.

Required parameters and return values

-displayObjectNames

If we set value to true, the command returns the certificate expiration monitor configuration object. If we set value to false, the command returns the name of the certificate expiration monitor. (Boolean, optional)

Examples

Batch mode example usage:

Interactive mode example usage:


modifyWSCertExpMonitor

Change the setting of an existing scheduler.

Target object: None.

Required parameters and return values

-name

The name that uniquely identifies the certificate expiration monitor. (String, required)

-autoReplace

Set value to true to replace a certificate within a certificate expiration date. If not, set value to false. (Boolean, required)

-deleteOld

Set value to true to delete an old certificate during certificate expiration monitoring. If not, set value to false. (Boolean, required)

-daysBeforeNotification

The number of days before a certificate expires to be notified of the expiration. (Integer, required)

-wsScheduleName

The name of the scheduler to use for certificate expiration. (String, required)

-wsNotificationName

The name of the notifier to use for certificate expiration. (String, required)

-isEnabled

Set value to true if the certificate expiration monitor is enabled. If not, set value to false. (Boolean, optional)

Examples

Batch mode example usage:

Interactive mode example usage:


startCertificateExpMonitor

Perform certificate monitoring. This command visits all key stores and checks to see if they are within certificate expiration range.

Target object: None.

Required parameters and return values

Examples

Batch mode example usage:

Interactive mode example usage:

  • Use the wsadmin scripting AdminTask
  • Commands for the AdminTask object