New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cert: include CA name in cert command output #20
Conversation
|
NACK Please update tests too. |
| @@ -623,6 +626,7 @@ def execute(self, csr, all=False, raw=False, **kw): | |||
| if not raw: | |||
| self.obj._parse(result) | |||
| result['request_id'] = int(result['request_id']) | |||
| result['cacn'] = ca_obj['cacn'][0] | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ca_obj['cn'][0], but we already have the cn in variable ca
anyway - there is no need to get it from the ca_obj.
|
test_xmlrpc/test_cert_plugin.py ........F.........................F.... 2 same internal errors: |
Include name of the CA that issued a certificate in cert-request, cert-show and cert-find. This allows the caller to call further commands on the cert without having to call ca-find to find the name of the CA. https://fedorahosted.org/freeipa/ticket/6151
|
Fixed upstream |
Include name of the CA that issued a certificate in cert-request, cert-show
and cert-find.
This allows the caller to call further commands on the cert without having
to call ca-find to find the name of the CA.
https://fedorahosted.org/freeipa/ticket/6151