Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeNotes
detailStringHuman readable status string
statusString

OK: Successfully revoked all new host certificate request.

PENDING: OIM is currently issuing certificate

FAILED: Invalid state (not ISSUEING nor ISSUED)

pkcs7String

Issued certificate in pkcs7 format.

certificateStringIssued certificate in PEM format(question)
intermediateStringIntermediated certificates for isued certificate in PEM format(question)
pkcs12 (optional)StringIf a private key is available within a session, this parameter will be set to base64 encoded string containing PKCS12 content.

Code Sample

Code Block
languagepython
#!/usr/bin/python
import urllib
import httplib
params = urllib.urlencode({
'user_request_id': '114'
}, True) #doseq
headers = {'Content-type': 'application/x-www-form-urlencoded', 'User-Agent': 'Test Client'}
conn = httplib.HTTPConnection("host:8080")
conn.request("POST", "/oim/rest?action=user_cert_retrieve&version=1", params, headers)
response = conn.getresponse()
print response.status, response.reason
data = response.read()
conn.close()
print data