Skip to content

Bug: UTF8 string on Countryname #23

@lucasperin

Description

@lucasperin

Issuing certificate with Countryname encoded as UTF8 is not allowed, according to RFC 5280.

  • Create CSR with no countryname (other fields should be UTF8 and openssl version >= 1.0.1)
  • Add some countryname using certificatebuilder::alterSubject
  • Issue certificate

My guess is that alterSubject is not taking countryname into account. We should fix the bug ASAP, however, the best solution would be to rework RDNSequence so that the internal objects are not stored as strings. The wrapper library shouldn't interfere with the underlying library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions