Skip to content

x509 add fields (certigo) #88

@Sh3idan

Description

@Sh3idan

Certigo tool can dump certificat information to json format.
It should be nice if we have more fields in x509 according to this tool.
You can find an example of .json dumped by certigo :
dumped-json.txt

Some interesting fields are :

  • is_self_signed (boolean)
  • is_ca (boolean)
  • pem
  • dns_names (multiple)
  • key_usage (multiple). E.g Digital Signature
  • extended_key_usage (multiple). E.g Serveur auth
  • ocsp_server
  • issuing_certificate

Subject field and Issuer field are subdivided according to the RFC 5280 (page 20) like that :

  • common_name
  • country
  • organization
  • organizational unit
  • distinguished name qualifier
  • state or province name
  • serial number
  • locality
  • title
  • surname
  • given name
  • initials
  • pseudonym
  • generation qualifier
  • key_id

Two solutions. The first one is to rename existing field to "subject-common-name", "subject-country", "issuer-common-name", "issuer-country", etc...
The second is to create an object "subject" and "issuer" with these attributs. I don't know what is the best :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions