Skip to content

Improve error reporting for certificate issuance in CAT NRO interface #310

@spaetow

Description

@spaetow

Issue type

  • Defect - Crash/memory corruption.
  • Defect - Non-compliance with a standards document or incorrect OS API usage.
  • Defect - Unexpected behaviour (obvious or has been verified by a project member).
  • New feature request.
  • Enhancement

Defect/Feature description

The error reporting when submitting a certificate request in the NRO interface is... suboptimal. The CSR looks ok, but no certificate is issued (and no information is provided). The submission process stops and you are none the wiser whether it was successfully submitted to the CA for signing/issuing or not.

We need to improve this because it's not particularly helpful to me right now when I'm trying to submit member CSRs. Scan the CSR and check if there's anything wrong. If there is, flag it up. If there isn't, provide feedback whether the CSR has been submitted, and the CA (eduPKI) should report back if the cert has been issued, or, if there was an error, what was wrong with the CSR, so it can be corrected.

How to reproduce issue

I have a CSR, signed with SHA1, organisation details are right. Extended Key Usage as below:

        X509v3 Extended Key Usage:
            TLS Web Server Authentication, Code Signing, 1.3.6.1.5.5.7.3.14

Subject is not in the correct format, so no feedback given? It should at the very least feed back if the subject is wrong, or the signing algorithm is wrong, or the public key is too short... or... or...

Detail of issue

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions