Users Guide

Table Of Contents
NOTE: If a certificate is uploaded, which is identical to an already existing certificate, it is accepted by the module.
Options
Table 59. ome_application_certifcate
Parameters Required Default Choices Comments
hostname True NA NA Target IP address or hostname
username True NA NA Target username
password True NA NA Target user password
port False 443 NA Target HTTPS port
command False NA NA C(generate_csr) allows the
generation of a CSR and C(upload)
uploads the certificate.
distinguished_name False NA NA Name of the certificate issuer.
This option is applicable for
C(generate_csr).
department_name False NA NA Name of the department that
issued the certificate. This option is
applicable for C(generate_csr).
business_name False NA NA Name of the business that issued the
certificate. This option is applicable
for C(generate_csr).
locality False NA NA Local address of the issuer of the
certificate. This option is applicable
for C(generate_csr).
country_state False NA NA State in which the issuer resides.
This option is applicable for
C(generate_csr).
country False NA NA Country in which the issuer
resides. This option is applicable for
C(generate_csr).
email False NA NA Email associated with the issuer.
This option is applicable for
C(generate_csr).
upload_file False NA NA Local path where the certificate file
is uploaded. This option is applicable
for C(upload). Once the certificate
is uploaded, OpenManage Enterprise
cannot be accessed for a few
seconds.
Return Values
msg:
type: str
description: Overall status of the certificate signing request.
returned: always
sample: "Successfully generated certificate signing request."
csr_status:
type: dict
description: details of the generated certificate.
returned: on success
sample:
{"CertificateData": "-----BEGIN CERTIFICATE REQUEST-----MIIFFjCCAv4
CAQAwgZ8xCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczETMBEGA1UEBwwKUm91
bmQgUm9jazESMBAGA1UECgwJRGVsbCBJbmMuMRwwGgYDVQQLDBNSZW1vdGUgQWNjZ
XNzIEdyb3VwMRwwGgYDVQQDDBNob3N0bmN8Mq6gnvxVmucGbUGmRyrXizGcpTCj5p
98
Modules for OpenManage Enterprise (OME)