You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pki cert-request-review when --action and --output parameters present doesn't create a file:
[root@server pki-cert-cli]# pki -d /tmp/tmp.dgbQzdVJEX/nssdb -n "PKI Administrator for example.com" -w Password -t ca cert-request-review --action=validate --output=/tmp/tmp.dgbQzdVJEX/certapprove_001.out 24
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
--------------------------------
Validated certificate request 24
--------------------------------
[root@iota pki-cert-cli]# cat /tmp/tmp.dgbQzdVJEX/certapprove_001.out
cat: /tmp/tmp.dgbQzdVJEX/certapprove_001.out: No such file or directory
When --action parameter not present and --output is present, pki cert-request-review cli requests the user to enter a Action (approve/reject/cancel/update/validate/assign/unassign) and creates a output file if --output param is present
[root@server pki-cert-cli]# pki -d /tmp/tmp.dgbQzdVJEX/nssdb -n "PKI Administrator for example.com" -w Password -t ca cert-request-review --output=/tmp/tmp.dgbQzdVJEX/certapprove_001.out 24
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
--------------------------------
Retrieved certificate request 24
--------------------------------
Request ID: 24
Profile: Manual User Dual-Use Certificate Enrollment
Type: enrollment
Status: pending
Filename: /tmp/tmp.dgbQzdVJEX/certapprove_001.out
Action (approve/reject/cancel/update/validate/assign/unassign): validate
--------------------------------
Validated certificate request 24
--------------------------------
**The presence of --action parameter doesn't create a output file should be documented.
Another issue I noticed is, the following error message is "Error: Missing output file name" when --action and --output is not present. Should this message be "Error: Missing output file name or action"? If --action is present the query executes successfully.
[root@server pki-cert-cli]# pki -d /tmp/tmp.dgbQzdVJEX/nssdb -n "PKI Administrator for example.com" -w Password -t ca cert-request-review 25
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
Error: Missing output file name.
usage: cert-request-review <Request ID> [OPTIONS...]
--action <action> Action: approve, reject, cancel, update,
validate, assign, unassign
--output <filename> Output filename
[root@server pki-cert-cli]# pki -d /tmp/tmp.dgbQzdVJEX/nssdb -n "PKI Administrator for example.com" -w Password -t ca cert-request-review --action=approve 25
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
WARNING: BAD_CERT_DOMAIN encountered on 'CN=server.example.com,O=example.com Security Domain' indicates a common-name mismatch
-------------------------------
Approved certificate request 25
-------------------------------
The text was updated successfully, but these errors were encountered:
This issue was migrated from Pagure Issue #585. Originally filed by aakkiang (@aakkiang) on 2013-04-11 18:33:10:
pki cert-request-review when --action and --output parameters present doesn't create a file:
When --action parameter not present and --output is present, pki cert-request-review cli requests the user to enter a Action (approve/reject/cancel/update/validate/assign/unassign) and creates a output file if --output param is present
**The presence of --action parameter doesn't create a output file should be documented.
Another issue I noticed is, the following error message is "Error: Missing output file name" when --action and --output is not present. Should this message be "Error: Missing output file name or action"? If --action is present the query executes successfully.
The text was updated successfully, but these errors were encountered: