As a user I want getcert list to show the template/profile, ms v2 template, and issuer (sub-CA) configured for a request.
getcert list
Can you be more specific about what you're looking at with issuer (sub-CA)? issuer is already displayed. What property is it?
I think this will handle the first two:
diff --git a/src/getcert.c b/src/getcert.c index d72d4cc9..939d6a19 100644 --- a/src/getcert.c +++ b/src/getcert.c @@ -3882,6 +3882,18 @@ list(const char *argv0, int argc, const char **ar gv) printf("\t\t%s\n", as[j]); } } + as = query_prop_as(bus, requests[i], CM_DBUS_REQUEST_INTERFA CE, + CM_DBUS_PROP_TEMPLATE_PROFILE, + verbose, globals.tctx); + if (as != NULL) { + printf(_("\tprofile: %s\n"), as); + } + as = query_prop_as(bus, requests[i], CM_DBUS_REQUEST_INTERFA CE, + CM_DBUS_PROP_TEMPLATE_MS_CERTIFICATE_TEMP LATE, + verbose, globals.tctx); + if (as != NULL) { + printf(_("\tms v2 template: %s\n"), as); + } printf(_("\tpre-save command: %s\n"), query_prop_s(bus, requests[i], CM_DBUS_REQUEST_INTERFACE, CM_DBUS_PROP_CERT_PRESAVE_COMMAND, verbose, globals.tctx));
@rcritten it's the CM_DBUS_PROP_TEMPLATE_ISSUER, which specifies the handle of the issuer to use (currently used for requesting cert from IPA sub-CAs).
CM_DBUS_PROP_TEMPLATE_ISSUER
Metadata Update from @rcritten: - Issue assigned to rcritten
https://pagure.io/certmonger/pull-request/118
master: ff0bce09054adcd554491bc288f5e4f72643cc9f
Metadata Update from @rcritten: - Issue priority set to: major - Issue set to the milestone: 0.79
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1734451
Issue linked to Bugzilla: Bug 1734451