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

allow X509 subject DNs to be presented also in the legacy format? #801

Open
maarten-litmaath opened this issue Jul 2, 2024 · 1 comment

Comments

@maarten-litmaath
Copy link

The X509 subject DN(s) of an account may need to be copy-pasted into other systems that expect the DN format to be what openssl uses e.g. on CentOS 7 and for which the arguments "-nameopt compat" are needed on newer OS versions. At least ALICE have such a use case. It would thus be great if the GUI presented the DNs also in the legacy format, if that is easy to implement.

Modern formats:

DC = ch, DC = cern, OU = Organic Units, OU = Users, CN = [...]
CN=[...],OU=Users,OU=Organic Units,DC=cern,DC=ch

Legacy format:

/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=[...]

@maarten-litmaath
Copy link
Author

A conversion script is easily written (example attached), but still an annoying extra step.

dn-convert-sh.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants