IBM Support

How can I query certificate details using DataPower REST Management Interface (RMI)?

Question & Answer


Question

Starting with release 7.5.2, DataPower offers the "do-view-certificate-details" action in "xml-mgmt-ops.xsd" for XML Management Interface (also known as XMI or SOMA).
How can I make such query via RMI?
$ curl -k -u user:pwd --data-binary @viewCert.xml https://example.com:5550/service/mgmt/current

$ cat viewCert.xml
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
	<dp:request xmlns:dp="http://www.datapower.com/schemas/management" domain="myDomain">
		<dp:do-view-certificate-details>
			<dp:certificate-object>myCert</dp:certificate-object>
		</dp:do-view-certificate-details>
	</dp:request>
</soapenv:Body> </soapenv:Envelope>

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Component":"","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 March 2020

UID

ibm16120597