Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: UTF8 string on Countryname #23

Open
lucasperin opened this issue Sep 19, 2018 · 0 comments
Open

Bug: UTF8 string on Countryname #23

lucasperin opened this issue Sep 19, 2018 · 0 comments
Labels

Comments

@lucasperin
Copy link
Collaborator

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.

@lucasperin lucasperin added the bug label Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant