SilleBille / pki

Dogtag PKI Issues should be reported to the Dogtag PKI Pagure Issues site
https://pagure.io/dogtagpki/issues
GNU General Public License v2.0
1 stars 1 forks source link

Removing subject DN requirement when submitting a CSR via CLI #269

Closed SilleBille closed 4 years ago

SilleBille commented 4 years ago

This issue was migrated from Pagure Issue #1705.Originally filed by edewata on 2015-11-26

Currently when submitting a CSR via CLI the user is still required to specify a request type and a subject DN:

$ pki ca-cert-request-submit \
 --profile caUserCert \
 --csr-file testuser.csr \
 --request-type pkcs10 \
 --subject UID=testuser,O=EXAMPLE

To improve usability, the CLI should obtain the request type and subject DN from the CSR itself. The server should also obtain the information from the CSR directly.

The client may display the request data for confirmation:

$ pki ca-cert-request-submit --profile caUserCert --csr-file testuser.csr
Certificate request:
  Request type     : PKCS #10
  Subject:
    UID            : testuser
    Organization   : EXAMPLE
  Key Type         : RSA
  Key Size         : 2048
  ...
Submit certificate request (Y/n)? 

There should also be an option to skip the confirmation:

$ pki ca-cert-request-submit --profile caUserCert --csr-file testuser.csr -y
SilleBille commented 4 years ago

Posted by mharmsen on 2015-11-30:

Per CS/DS Meeting of 11/30/2015: 10.3 minor

SilleBille commented 4 years ago

Posted by ftweedal on 2016-01-12:

fixed in ec9c68d68eabff3784fcf6dabf2c6745734b3c9c

SilleBille commented 4 years ago

Posted by mharmsen on 2016-01-26:

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1302125

SilleBille commented 4 years ago

Posted by ftweedal on 2016-01-27:

Misinterpreted this bug - it is for additional enhancements to the csr-file option implemented in the referenced commit.

Reopening.

SilleBille commented 4 years ago

Posted by mharmsen on 2016-04-21:

Per CS Bug/Ticket Triage held 04/19/2016: 10.4

SilleBille commented 4 years ago

Posted by mharmsen on 2016-12-01:

Per Offline Triage of 11/30/2016-12/01/2016: FUTURE - minor

SilleBille commented 4 years ago

Posted by mharmsen on 2018-04-18:

Per 10.5.x/10.6 Triage: FUTURE

RHBZ: CLOSED UPSTREAM