cpca_client set_cert_validity

Description

This command configures the default certificate validity period for new certificates.

Notes:

  • On a Multi-Domain Server, you must run this command in the context of the applicable Domain Management Server:

    mdsenv <IP Address or Name of Domain Management Server>

  • The new certificate validity period applies only to certificate you create after this change.

Syntax

cpca_client set_cert_validity -k {SIC | IKE | USER} [-y <Number of Years>] [-d <Number of Days>] [-h <Number of Hours>] [-s <Number of Seconds>]

Parameters

Parameter

Description

-k {SIC | IKE | USER}

Specifies the certificate type.

-y <Number of Years>

Specifies the validity period in years.

-d <Number of Days>

Specifies the validity period in days.

-h <Number of Hours>

Specifies the validity period in hours.

-s <Number of Seconds>

Specifies the validity period in seconds.

Example

[Expert@MGMT:0]# cpca_client set_cert_validity -k IKE -y 3
 cert validity period was changed successfully.
[Expert@MGMT:0]#