CertificateRequestCommands command group of the AdminTask object

You can use the Jython or Jacl scripting languages to configure security with the wsadmin tool. The commands and parameters in the CertificateRequestCommands group can be used to create and manage certificate requests.

The CertificateRequestCommands command group for the AdminTask object includes the following commands:

createCertificateRequest

The createCertificateRequest command creates a certificate request that is associated with a particular key store.

Target object

None.

[jul2010] Parameters and return values [jul2010]

jul2010

-keyStoreName
The name that uniquely identifies the key store configuration object. (String, required)
-keyStoreScope
The scope name of the key store. (String, optional)
-certificateAlias
The name that uniquely identifies the certificate request in a key store. (String, required)
-certificateVersion
The certificate version. (String, required)
-certificateSize
(Integer, required)
-certificateCommonName
(String, required)
-certificateOrganization
(String, optional)
-certificateOrganizationalUnit
(String, optional)
-certificateLocality
(String, optional)
-certificateState
The state code for the certificate. (String, optional)
-certificateZip
The zip code for the certificate. (String, optional)
-certificateCountry
The country for the certificate. (String, optional)
-certificateValidDays
The amount of time in days for which the certificate is valid. (Integer, optional)
-certificateRequestFilePath
The file location of the certificate request that can be sent to a certificate authority. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

deleteCertificateRequest

The deleteCertificateRequest command deletes a certificate request from a key store.

Target object

None.

Parameters and return values

-keyStoreName
The name that uniquely identifies the key store configuration object. (String, required)
-keyStoreScope
The scope name of the key store. (String, optional)
-certificateAlias
The name that uniquely identifies the certificate request in a key store. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

extractCertificateRequest

The extractCertificateRequestcommand extracts a certificate request to a file.

Target object

None.

Parameters and return values

-keyStoreName
The name that uniquely identifies the key store configuration object. (String, required)
-keyStoreScope
The scope name of the key store. (String, optional)
-certificateAlias
The name that uniquely identifies the certificate request in a key store. (String, required)
-certificateRequestFilePath
The file location of the certificate request that can be sent to a certificate authority. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

getCertificateRequest

The getCertificateRequest command obtains information about a particular certificate request in a key store.

Target object

None.

Parameters and return values

-keyStoreName
The name that uniquely identifies the key store configuration object. (String, required)
-keyStoreScope
The scope name of the key store. (String, optional)
-certificateAlias
The name that uniquely identifies the certificate request in a key store. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

listCertificateRequests

The listCertificateRequests command lists all the certificate requests associated with a particular key store.

Target object

None.

Parameters and return values

-keyStoreName
The name that uniquely identifies the key store configuration object. (String, required)
-keyStoreScope
The scope name of the key store. (String, optional)

Examples

Batch mode example usage:

Interactive mode example usage:




Related tasks
Using the wsadmin scripting AdminTask object for scripted administration
Related reference
Commands for the AdminTask object using wsadmin scripting
Using wsadmin scripting with Jython
Reference topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 1:44:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-dist&topic=rxml_atcertrequests
File name: rxml_atcertrequests.html